diff options
author | René Scharfe <l.s.r@web.de> | 2020-09-06 10:59:02 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-09-06 13:40:40 -0700 |
commit | 014f1447f0382b323b53006a65dd2b8383427dc8 (patch) | |
tree | 92e26500711e5bbeb318da172742a5cb08d5cb89 /t/t4120-apply-popt.sh | |
parent | fast-import: use write_pack_header() (diff) | |
download | tgif-014f1447f0382b323b53006a65dd2b8383427dc8.tar.xz |
midx: use hashwrite_u8() in write_midx_header()
Emit byte-sized values using hashwrite_u8() instead of buffering them
locally first. The hashwrite functions already do their own buffering,
so this double-buffering does not reduce the number of system calls.
Getting rid of it shortens and simplifies the code a bit.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4120-apply-popt.sh')
0 files changed, 0 insertions, 0 deletions