summaryrefslogtreecommitdiff
path: root/src/reflog.h
diff options
context:
space:
mode:
authorschu <schu-github@schulog.org>2011-08-15 18:56:27 +0200
committerschu <schu-github@schulog.org>2011-08-15 21:14:51 +0200
commite7be57a98bea9c56c88d8c3de78400c13909eede (patch)
treeb7b78f820ec423cb0623a0440032a7c0cf510297 /src/reflog.h
parentbae88c0dc6b940cd661364499019ad00f7ba1fd3 (diff)
downloadlibgit2-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 'src/reflog.h')
-rw-r--r--src/reflog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reflog.h b/src/reflog.h
index da352ca8f..b6daf2a76 100644
--- a/src/reflog.h
+++ b/src/reflog.h
@@ -10,8 +10,8 @@
#define GIT_REFLOG_SIZE_MIN (2*GIT_OID_HEXSZ+2+17)
struct git_reflog_entry {
- char *oid_old;
- char *oid_cur;
+ git_oid oid_old;
+ git_oid oid_cur;
git_signature *committer;