diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-09-09 19:24:56 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-09 18:23:11 -0700 |
commit | 2ec02dd5a8261bc837b961ef36788081ded5c2bc (patch) | |
tree | 3a6833d249e52901e8064c1865e47350b4462ff3 /t/t3200-branch.sh | |
parent | builtin/index-pack.c: move `.idx` files into place last (diff) | |
download | tgif-2ec02dd5a8261bc837b961ef36788081ded5c2bc.tar.xz |
pack-write: split up finish_tmp_packfile() function
Split up the finish_tmp_packfile() function and use the split-up version
in pack-objects.c in preparation for moving the step of renaming the
*.idx file later as part of a function change.
Since the only other caller of finish_tmp_packfile() was in
bulk-checkin.c, and it won't be needing a change to its *.idx renaming,
provide a thin wrapper for the old function as a static function in that
file. If other callers end up needing the simpler version it could be
moved back to "pack-write.c" and "pack.h".
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3200-branch.sh')
0 files changed, 0 insertions, 0 deletions