create_tmp_packfile(): a helper function
authorJunio C Hamano <gitster@pobox.com>
Fri, 28 Oct 2011 18:52:14 +0000 (11:52 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Oct 2011 18:52:14 +0000 (11:52 -0700)
commitcdf9db3c83618453809d6a584d1a0db19b3e189f
treedae91f3adac1efa60acfc501c1b9adf16b79156d
parentc0ad465725302b9411e53d248871c36880b6f8fd
create_tmp_packfile(): 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