Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 2/2] fill_textconv(): Don't get/put cache if sha1 is not valid

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:50:16

Kirill Smelkov [off-list ref] writes:
It turned out, under blame there are requests to fill_textconv() with
sha1=0000000000000000000000000000000000000000 and sha1_valid=0.
The code shouldn't even look at sha1[] if sha1_valid is false, as we do
not know the hash value for the blob (reading from the working tree).

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help