On 8/2/2020 10:38 AM, René Scharfe wrote: > Like f0bca72dc77 (send-pack: use buffered I/O to talk to pack-objects, > 2016-06-08), significantly reduce the number of system calls and > simplify the code for sending object IDs to pack-objects by using > stdio's buffering and handling errors after the loop. Good find. Thanks for doing this important cleanup. Outside of Chris's other feedback, this looks like an obviously correct transformation. Thanks, -Stolee