From 3e56e7245c37ce57dde72ec74ee2df41ce603dda Mon Sep 17 00:00:00 2001 From: "brian m. carlson" Date: Sun, 6 Dec 2015 22:16:35 +0000 Subject: sha1_file.c: introduce a null_oid constant null_oid is the struct object_id equivalent to null_sha1. Signed-off-by: brian m. carlson Signed-off-by: Junio C Hamano --- cache.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cache.h') diff --git a/cache.h b/cache.h index 614040e700..071eecee7a 100644 --- a/cache.h +++ b/cache.h @@ -813,6 +813,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) { -- cgit v1.3