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 --- sha1_file.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sha1_file.c') diff --git a/sha1_file.c b/sha1_file.c index 27ce7b705e..a54deb0558 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -36,6 +36,7 @@ static inline uintmax_t sz_fmt(size_t s) { return s; } const unsigned char null_sha1[20]; +const struct object_id null_oid; /* * This is meant to hold a *small* number of objects that you would -- cgit v1.2.1