diff options
author | Michael Schubert <schu@schu.io> | 2012-08-09 21:39:59 +0200 |
---|---|---|
committer | Michael Schubert <schu@schu.io> | 2012-10-20 21:32:21 +0200 |
commit | eafcdf49f0ba18dcfcbff19f20f22f92fddcd0fc (patch) | |
tree | 9376fe11d845ca037926b565e7ce5f4d7801f138 | |
parent | c497a63bd6ac0f07b06b18e4891771fdbcd31dd6 (diff) | |
download | libgit2-eafcdf49f0ba18dcfcbff19f20f22f92fddcd0fc.tar.gz |
Move GIT_OID_HEX_ZERO to common.h
-rw-r--r-- | src/common.h | 2 | ||||
-rw-r--r-- | src/reflog.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h index 747bbf7ce..007b2e3ea 100644 --- a/src/common.h +++ b/src/common.h @@ -49,6 +49,8 @@ #include <regex.h> +#define GIT_OID_HEX_ZERO "0000000000000000000000000000000000000000" + /** * Check a pointer allocation result, returning -1 if it failed. */ diff --git a/src/reflog.h b/src/reflog.h index 3bbdf6e10..749cbc688 100644 --- a/src/reflog.h +++ b/src/reflog.h @@ -17,8 +17,6 @@ #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; |