diff options
author | Jeff King <peff@peff.net> | 2017-10-09 13:48:52 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-10-10 08:59:57 +0900 |
commit | c602d3a9897a408ce0db543860d472332f79d045 (patch) | |
tree | 92c22795d32521e1b248df11d12b80eb49c6fa97 /t/t5100/patch0013 | |
parent | write_entry: fix leak when retrying delayed filter (diff) | |
download | tgif-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/t5100/patch0013')
0 files changed, 0 insertions, 0 deletions