aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <junio@twinsun.com>2005-09-30 14:02:47 -0700
committerJunio C Hamano <junkio@cox.net>2005-09-30 22:12:01 -0700
commit88cd621deedd2aab8f0a4c6ea3afed7269e66d0c (patch)
treea3dd83cf845cacb5a7340b78128bd36dfa6aa81d /cache.h
parent894a8a8b1b935639ac2ea503e8fa2887fd6bd44b (diff)
downloadgit-88cd621deedd2aab8f0a4c6ea3afed7269e66d0c.tar.gz
git-88cd621deedd2aab8f0a4c6ea3afed7269e66d0c.tar.xz
Consolidate null_sha1[].
Signed-off-by: Junio C Hamano <junio@twinsun.com>
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 52a45f9c9..b8e3d9bfa 100644
--- a/cache.h
+++ b/cache.h
@@ -189,6 +189,7 @@ extern char *git_path(const char *fmt, ...) __attribute__((format (printf, 1, 2)
extern char *sha1_file_name(const unsigned char *sha1);
extern char *sha1_pack_name(const unsigned char *sha1);
extern char *sha1_pack_index_name(const unsigned char *sha1);
+extern const unsigned char null_sha1[20];
int git_mkstemp(char *path, size_t n, const char *template);