summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-12-21 18:59:07 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-12-21 18:59:08 (GMT)
commitfbe959dde7eafcdae859e21cd734c07c7890c0a4 (patch)
tree3a84214d3b1ca16b4e45a01c9e2270803a128f55 /cache.h
parent5498c57cdd637eb4f42ce8e296ce9ca4ab66e289 (diff)
parent06dfc9ebaa154d5074b7afadc2f792a80fba7d0c (diff)
downloadgit-fbe959dde7eafcdae859e21cd734c07c7890c0a4.zip
git-fbe959dde7eafcdae859e21cd734c07c7890c0a4.tar.gz
git-fbe959dde7eafcdae859e21cd734c07c7890c0a4.tar.bz2
Merge branch 'bc/format-patch-null-from-line'
"format-patch" has learned a new option to zero-out the commit object name on the mbox "From " line. * bc/format-patch-null-from-line: format-patch: check that header line has expected format format-patch: add an option to suppress commit hash sha1_file.c: introduce a null_oid constant
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 5ab6cb5..c63fcc1 100644
--- a/cache.h
+++ b/cache.h
@@ -831,6 +831,7 @@ extern const char *find_unique_abbrev(const unsigned char *sha1, int len);
extern int find_unique_abbrev_r(char *hex, const unsigned char *sha1, int len);
extern const unsigned char null_sha1[GIT_SHA1_RAWSZ];
+extern const struct object_id null_oid;
static inline int hashcmp(const unsigned char *sha1, const unsigned char *sha2)
{