summaryrefslogtreecommitdiff
path: root/src/refs.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2014-07-18 18:22:54 -0400
committerEdward Thomson <ethomson@microsoft.com>2014-10-26 22:59:27 -0400
commita612a25fa673447e874407fd2d9501998885d392 (patch)
tree57883d4a2ba332246cb0a475c7d0607f091ac72e /src/refs.h
parent517644cce4df8ac9ea40669dd22574d6dc76c02f (diff)
downloadlibgit2-a612a25fa673447e874407fd2d9501998885d392.tar.gz
git_rebase_commit: write HEAD's reflog appropriately
Diffstat (limited to 'src/refs.h')
-rw-r--r--src/refs.h9
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