Files
git/builtin
Junio C Hamano fa6c383309 unpack: replace xwrite() loop with write_in_full()
We have two packfile stream consumers, index-pack and
unpack-objects, that allow excess payload after the packfile stream
data. Their code to relay excess data hasn't changed significantly
since their original implementation that appeared in 67e5a5ec
(git-unpack-objects: re-write to read from stdin, 2005-06-28) and
9bee2478 (mimic unpack-objects when --stdin is used with index-pack,
2006-10-25).

These code blocks contain hand-rolled loops using xwrite(), written
before our write_in_full() helper existed. This helper now provides
the same functionality.

Replace these loops with write_in_full() for shorter, clearer
code. Update related variables accordingly.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-03-02 11:12:16 -08:00
..
2024-01-08 14:05:15 -08:00
2024-02-13 10:18:50 -08:00
2024-01-29 10:27:53 -08:00
2024-02-12 09:32:41 -08:00
2024-01-18 12:17:42 -08:00
2023-07-06 11:54:48 -07:00
2024-01-08 14:05:15 -08:00
2024-02-26 18:10:24 -08:00
2023-07-06 11:54:48 -07:00
2023-07-06 11:54:46 -07:00
2024-02-27 16:04:32 -08:00
2024-01-18 12:17:41 -08:00