diff options
author | nulltoken <emeric.fermas@gmail.com> | 2012-07-16 12:12:53 +0200 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-07-25 07:53:30 +0200 |
commit | d284b3de631edeaa651bf3ee2c5963cb970016c4 (patch) | |
tree | ded030a4c96481c69fcd151cd3319ee9f6a11492 /include/git2 | |
parent | 59341a5d5960b13801404d3690f6bcf27e91efa6 (diff) | |
download | libgit2-d284b3de631edeaa651bf3ee2c5963cb970016c4.tar.gz |
reflog: rename git_reflog_write() to git_reflog_append()
Diffstat (limited to 'include/git2')
-rw-r--r-- | include/git2/reflog.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/reflog.h b/include/git2/reflog.h index 7467e81ed..1de870bba 100644 --- a/include/git2/reflog.h +++ b/include/git2/reflog.h @@ -33,7 +33,7 @@ GIT_BEGIN_DECL GIT_EXTERN(int) git_reflog_read(git_reflog **reflog, git_reference *ref); /** - * Write a new reflog for the given reference + * Add a new entry to the reflog for the given reference * * If there is no reflog file for the given * reference yet, it will be created. @@ -48,7 +48,7 @@ GIT_EXTERN(int) git_reflog_read(git_reflog **reflog, git_reference *ref); * @param msg the reflog message * @return 0 or an error code */ -GIT_EXTERN(int) git_reflog_write(git_reference *ref, const git_oid *oid_old, const git_signature *committer, const char *msg); +GIT_EXTERN(int) git_reflog_append(git_reference *ref, const git_oid *oid_old, const git_signature *committer, const char *msg); /** * Rename the reflog for the given reference |