diff options
author | schu <schu-github@schulog.org> | 2011-08-15 18:56:27 +0200 |
---|---|---|
committer | schu <schu-github@schulog.org> | 2011-08-15 21:14:51 +0200 |
commit | e7be57a98bea9c56c88d8c3de78400c13909eede (patch) | |
tree | b7b78f820ec423cb0623a0440032a7c0cf510297 /include/git2/reflog.h | |
parent | bae88c0dc6b940cd661364499019ad00f7ba1fd3 (diff) | |
download | libgit2-e7be57a98bea9c56c88d8c3de78400c13909eede.tar.gz |
reflog: assimilate reflog API to return git_oid's
Rather than returning the OIDs out of the reflog as string return them
as git_oid.
Signed-off-by: schu <schu-github@schulog.org>
Diffstat (limited to 'include/git2/reflog.h')
-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 7f2781fc..53b34473 100644 --- a/include/git2/reflog.h +++ b/include/git2/reflog.h @@ -91,7 +91,7 @@ GIT_EXTERN(const git_reflog_entry *) git_reflog_entry_byindex(git_reflog *reflog * @param entry a reflog entry * @return the old oid */ -GIT_EXTERN(char *) git_reflog_entry_oidold(const git_reflog_entry *entry); +GIT_EXTERN(const git_oid *) git_reflog_entry_oidold(const git_reflog_entry *entry); /** * Get the new oid @@ -99,7 +99,7 @@ GIT_EXTERN(char *) git_reflog_entry_oidold(const git_reflog_entry *entry); * @param entry a reflog entry * @return the new oid at this time */ -GIT_EXTERN(char *) git_reflog_entry_oidnew(const git_reflog_entry *entry); +GIT_EXTERN(const git_oid *) git_reflog_entry_oidnew(const git_reflog_entry *entry); /** * Get the committer of this entry |