X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=sha1_file.c;h=895c1fab6fc00b8131e44851f33b79b1d2310b12;hb=37dcf6de60498dfedb5d97ad96789b0527493bcd;hp=1e847a891a9ea7470fb2554f4b08dc0fe10a3186;hpb=300b4801b75a59961e66ad9fa96941e46fd76be5;p=git.git diff --git a/sha1_file.c b/sha1_file.c index 1e847a89..895c1fab 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -20,6 +20,8 @@ #endif #endif +const unsigned char null_sha1[20] = { 0, }; + static unsigned int sha1_file_open_flag = O_NOATIME; static unsigned hexval(char c)