summaryrefslogtreecommitdiff
path: root/t/t4211
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2017-10-09 13:48:52 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-10-10 08:59:57 +0900
commitc602d3a9897a408ce0db543860d472332f79d045 (patch)
tree92c22795d32521e1b248df11d12b80eb49c6fa97 /t/t4211
parentwrite_entry: fix leak when retrying delayed filter (diff)
downloadtgif-c602d3a9897a408ce0db543860d472332f79d045.tar.xz
write_entry: avoid reading blobs in CE_RETRY case
When retrying a delayed filter-process request, we don't need to send the blob to the filter a second time. However, we read it unconditionally into a buffer, only to later throw away that buffer. We can make this more efficient by skipping the read in the first place when it isn't necessary. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4211')
0 files changed, 0 insertions, 0 deletions