index 9bded28729d6608f0449c483707f35279c24b1d5..7d06b035ae8b6a53f10a7f94251a24d911baa509 100644 (file)
--- a/diff.c
+++ b/diff.c
#include "diffcore.h"
static const char *diff_opts = "-pu";
-static unsigned char null_sha1[20] = { 0, };
static int use_size_cache;
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;