diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2014-07-18 18:22:54 -0400 |
|---|---|---|
| committer | Edward Thomson <ethomson@microsoft.com> | 2014-10-26 22:59:27 -0400 |
| commit | a612a25fa673447e874407fd2d9501998885d392 (patch) | |
| tree | 57883d4a2ba332246cb0a475c7d0607f091ac72e /src/refs.h | |
| parent | 517644cce4df8ac9ea40669dd22574d6dc76c02f (diff) | |
| download | libgit2-a612a25fa673447e874407fd2d9501998885d392.tar.gz | |
git_rebase_commit: write HEAD's reflog appropriately
Diffstat (limited to 'src/refs.h')
| -rw-r--r-- | src/refs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/refs.h b/src/refs.h index c6ec429a5..5f48efc41 100644 --- a/src/refs.h +++ b/src/refs.h @@ -100,4 +100,13 @@ int git_reference_lookup_resolved( int git_reference__log_signature(git_signature **out, git_repository *repo); +/** Update a reference after a commit. */ +int git_reference__update_for_commit( + git_repository *repo, + git_reference *ref, + const char *ref_name, + const git_oid *id, + const git_signature *committer, + const char *operation); + #endif |
