summaryrefslogtreecommitdiff
path: root/src/reflog.h
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-07-17 10:53:19 +0200
committernulltoken <emeric.fermas@gmail.com>2012-07-25 07:53:27 +0200
commit7c458e3aee7b39bfec368456d494972fe9ae244b (patch)
tree03c3115e072c1c08e54a16abb4808b55b4e32b7e /src/reflog.h
parent1cb157184b6547b613a008455ba386425bb38a23 (diff)
downloadlibgit2-7c458e3aee7b39bfec368456d494972fe9ae244b.tar.gz
reflog: add GIT_OID_HEX_ZERO constant
Diffstat (limited to 'src/reflog.h')
-rw-r--r--src/reflog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/reflog.h b/src/reflog.h
index 33cf0776c..fe2891909 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;