]> Sergey Matveev's repositories - public-inbox.git/commitdiff
viewvcs: stream_blob_parse_hdr: fix BIN_DETECT retries
authorEric Wong <e@yhbt.net>
Mon, 30 Mar 2020 18:30:09 +0000 (18:30 +0000)
committerEric Wong <e@yhbt.net>
Mon, 30 Mar 2020 18:31:09 +0000 (18:31 +0000)
git-cat-file(1) may return less than the $BIN_DETECT value for
some blobs, so ensure we repopulate the values in $ctx for
retries in that case, otherwise we'll lose `$ctx->{-res}' and
die when attempting to use `undef' as an array ref.


No differences found