summaryrefslogtreecommitdiff
path: root/src/reflog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/reflog.h')
-rw-r--r--src/reflog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/reflog.h b/src/reflog.h
index 33cf0776c..3bbdf6e10 100644
--- a/src/reflog.h
+++ b/src/reflog.h
@@ -17,6 +17,8 @@
#define GIT_REFLOG_SIZE_MIN (2*GIT_OID_HEXSZ+2+17)
+#define GIT_OID_HEX_ZERO "0000000000000000000000000000000000000000"
+
struct git_reflog_entry {
git_oid oid_old;
git_oid oid_cur;
@@ -28,6 +30,7 @@ struct git_reflog_entry {
struct git_reflog {
char *ref_name;
+ git_repository *owner;
git_vector entries;
};