diff options
author | Junio C Hamano <junio@twinsun.com> | 2005-09-30 14:02:47 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-09-30 22:12:01 -0700 |
commit | 88cd621deedd2aab8f0a4c6ea3afed7269e66d0c (patch) | |
tree | a3dd83cf845cacb5a7340b78128bd36dfa6aa81d /diff.c | |
parent | 894a8a8b1b935639ac2ea503e8fa2887fd6bd44b (diff) | |
download | git-88cd621deedd2aab8f0a4c6ea3afed7269e66d0c.tar.gz |
Consolidate null_sha1[].
Signed-off-by: Junio C Hamano <junio@twinsun.com>
Diffstat (limited to 'diff.c')
-rw-r--r-- | diff.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -10,7 +10,6 @@ #include "diffcore.h" static const char *diff_opts = "-pu"; -static unsigned char null_sha1[20] = { 0, }; static int use_size_cache; @@ -414,7 +413,7 @@ void diff_free_filespec_data(struct diff_filespec *s) static void prep_temp_blob(struct diff_tempfile *temp, void *blob, unsigned long size, - unsigned char *sha1, + const unsigned char *sha1, int mode) { int fd; |