Re: [PATCH 2/3] write_entry: avoid reading blobs in CE_RETRY case

2017-10-09 Thread Junio C Hamano
Jeff King writes: > 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

[PATCH 2/3] write_entry: avoid reading blobs in CE_RETRY case

2017-10-09 Thread Jeff King
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. Sign