Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2020-09-06 11:39:23 +0300
committerJunio C Hamano <gitster@pobox.com>2020-09-06 23:40:37 +0300
commitccb181d0f053100a988ee0a240e3c0c0bb962d4d (patch)
tree53aa239b1b5bca8d7cf068c8c0cc0b92c83c32b8 /pack-bitmap-write.c
parent3a238e539bcdfe3f9eb5010fd218640c1b499f7a (diff)
fast-import: use write_pack_header()
Call write_pack_header() to hash and write a pack header instead of open-coding this function. This gets rid of duplicate code and of the magic version number 2 -- which has been used here since c90be46abd (Changed fast-import's pack header creation to use pack.h, 2006-08-16) and in pack.h (again) since 29f049a0c2 (Revert "move pack creation to version 3", 2006-10-14). Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-bitmap-write.c')
0 files changed, 0 insertions, 0 deletions