diff options
author | Vicent Marti <vicent@github.com> | 2013-12-18 09:33:45 -0800 |
---|---|---|
committer | Vicent Marti <vicent@github.com> | 2013-12-18 09:33:45 -0800 |
commit | 4e1f517c61fef323b9cb3acedd19ce7859a8e546 (patch) | |
tree | 87823d6c36e00b3098069142ba9e630e2570f1b7 /include/git2/reflog.h | |
parent | a7ecd1a9e36df5d6843c1863542c02d777e9e8b5 (diff) | |
parent | f21051297cc698644ea0dc9c7122ec944dba2863 (diff) | |
download | libgit2-4e1f517c61fef323b9cb3acedd19ce7859a8e546.tar.gz |
Merge pull request #1920 from libgit2/cmn/ref-with-log
Reference operations with log
Diffstat (limited to 'include/git2/reflog.h')
-rw-r--r-- | include/git2/reflog.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/include/git2/reflog.h b/include/git2/reflog.h index 2d1b6eeaa..df06e1b8e 100644 --- a/include/git2/reflog.h +++ b/include/git2/reflog.h @@ -47,7 +47,7 @@ GIT_EXTERN(int) git_reflog_read(git_reflog **out, git_repository *repo, const c GIT_EXTERN(int) git_reflog_write(git_reflog *reflog); /** - * Add a new entry to the reflog. + * Add a new entry to the in-memory reflog. * * `msg` is optional and can be NULL. * @@ -60,23 +60,6 @@ GIT_EXTERN(int) git_reflog_write(git_reflog *reflog); GIT_EXTERN(int) git_reflog_append(git_reflog *reflog, const git_oid *id, const git_signature *committer, const char *msg); /** - * Add a new entry to the named reflog. - * - * This utility function loads the named reflog, appends to it and - * writes it back out to the backend. - * - * `msg` is optional and can be NULL. - * - * @param repo the repository to act on - * @param name the reflog's name - * @param id the OID the reference is now pointing to - * @param committer the signature of the committer - * @param msg the reflog message - * @return 0 or an error code - */ -GIT_EXTERN(int) git_reflog_append_to(git_repository *repo, const char *name, const git_oid *id, const git_signature *committer, const char *msg); - -/** * Rename a reflog * * The reflog to be renamed is expected to already exist |