summaryrefslogtreecommitdiff
path: root/xdiff
diff options
context:
space:
mode:
authorLibravatar Nicolas Pitre <nico@fluxnic.net>2010-02-17 14:05:52 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-02-17 11:08:42 -0800
commit212818160d588fae403dfc823250e95ffbac76e5 (patch)
tree910f2aad163883ac67a216c02262ae4a1574af05 /xdiff
parentfast-import: start using struct pack_idx_entry (diff)
downloadtgif-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 'xdiff')
0 files changed, 0 insertions, 0 deletions