summaryrefslogtreecommitdiff
path: root/include/git2/refs.h
diff options
context:
space:
mode:
authorVicent Marti <vicent@github.com>2014-01-31 09:46:40 -0800
committerVicent Marti <vicent@github.com>2014-01-31 09:46:40 -0800
commitf9500b4524c62a2f443061bacea8171b435230f6 (patch)
tree104e0fadb7103e10ea2bf7a6376214d504a773da /include/git2/refs.h
parent8646b0a0689c89d9cad949754885ec542b4d0ce1 (diff)
parentdb092c1955ff5079d8ca475bbe1d6b0da782b38e (diff)
downloadlibgit2-f9500b4524c62a2f443061bacea8171b435230f6.tar.gz
Merge pull request #2081 from libgit2/bs/reflog
Reflog completionism
Diffstat (limited to 'include/git2/refs.h')
-rw-r--r--include/git2/refs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/git2/refs.h b/include/git2/refs.h
index b203f242b..976b7496b 100644
--- a/include/git2/refs.h
+++ b/include/git2/refs.h
@@ -297,6 +297,8 @@ GIT_EXTERN(int) git_reference_set_target(
* @param ref The reference to rename
* @param new_name The new name for the reference
* @param force Overwrite an existing reference
+ * @param signature The identity that will used to populate the reflog entry
+ * @param log_message The one line long message to be appended to the reflog
* @return 0 on success, GIT_EINVALIDSPEC, GIT_EEXISTS or an error code
*
*/
@@ -304,7 +306,9 @@ GIT_EXTERN(int) git_reference_rename(
git_reference **new_ref,
git_reference *ref,
const char *new_name,
- int force);
+ int force,
+ const git_signature *signature,
+ const char *log_message);
/**
* Delete an existing reference.