midx: use buffered I/O to talk to pack-objects
authorRené Scharfe <redacted>
Wed, 12 Aug 2020 16:52:54 +0000 (18:52 +0200)
committerJunio C Hamano <redacted>
Mon, 17 Aug 2020 17:29:39 +0000 (10:29 -0700)
commit6af3b00abc3d2af69e6bdf4f8c0843d7e3bf9c88
tree4be310540b2b0726a2e680d6be67e5d3dfbe106c
parent24b75faf0da7a025a192ab4c65cb1f1d6dc6b7f6
midx: use buffered I/O to talk to pack-objects

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.

Helped-by: Chris Torek <redacted>
Helped-by: Johannes Sixt <redacted>
Encouraged-by: Derrick Stolee <redacted>
Signed-off-by: René Scharfe <redacted>
Signed-off-by: Junio C Hamano <redacted>
midx.c
git clone https://git.99rst.org/PROJECT