diff options
author | Nicolas Pitre <nico@fluxnic.net> | 2010-02-17 14:05:52 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-17 11:08:42 -0800 |
commit | 212818160d588fae403dfc823250e95ffbac76e5 (patch) | |
tree | 910f2aad163883ac67a216c02262ae4a1574af05 /pack-refs.c | |
parent | fast-import: start using struct pack_idx_entry (diff) | |
download | tgif-212818160d588fae403dfc823250e95ffbac76e5.tar.xz |
fast-import: use sha1write() for pack data
This is in preparation for using write_idx_file(). Also, by using
sha1write() we get some buffering to reduces the number of write
syscalls, and the written data is SHA1 summed which allows for the extra
data integrity validation check performed in fixup_pack_header_footer()
(details on this in commit abeb40e5aa).
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-refs.c')
0 files changed, 0 insertions, 0 deletions