aboutsummaryrefslogtreecommitdiff
path: root/builtin/pull.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2017-10-09 13:48:52 -0400
committerJunio C Hamano <gitster@pobox.com>2017-10-10 08:59:57 +0900
commitc602d3a9897a408ce0db543860d472332f79d045 (patch)
tree92c22795d32521e1b248df11d12b80eb49c6fa97 /builtin/pull.c
parentb2401586fc5168974c77cdc6d8548c51e6c852a6 (diff)
downloadgit-c602d3a9897a408ce0db543860d472332f79d045.tar.gz
git-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 'builtin/pull.c')
0 files changed, 0 insertions, 0 deletions