Re: [PATCH v2 1/4] sha1_file: fix hardcoded size in null_sha1

2017-08-16 Thread Junio C Hamano
Patryk Obara writes: > This prevents compilation error if GIT_MAX_RAWSZ is different than 20. The above made me scratch my head wondering why because it does not say what the root cause of the issue is. It would have avoided a few strand of lost hair if it were more like this, perhaps:

[PATCH v2 1/4] sha1_file: fix hardcoded size in null_sha1

2017-08-16 Thread Patryk Obara
This prevents compilation error if GIT_MAX_RAWSZ is different than 20. Signed-off-by: Patryk Obara --- sha1_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sha1_file.c b/sha1_file.c index b60ae15..f5b5bec 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -32,7 +32,7 @@ #d