write_pack_header(): a helper function
authorJunio C Hamano <gitster@pobox.com>
Fri, 28 Oct 2011 18:40:48 +0000 (11:40 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Oct 2011 18:40:48 +0000 (11:40 -0700)
commitc0ad465725302b9411e53d248871c36880b6f8fd
tree33e1a393619b1c55af02fbcb715804500798987d
parente8e1c29021da446d0c50573ef9619bf74f515c20
write_pack_header(): a helper function

Factor out a small logic out of the private write_pack_file() function
in builtin/pack-objects.c

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pack-objects.c
pack-write.c
pack.h