Merge branch 'tb/pack-finalize-ordering'
commita1af5333234b42e9e44729280a0e92b989bd865d
authorJunio C Hamano <gitster@pobox.com>
Mon, 20 Sep 2021 22:20:42 +0000 (20 15:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Sep 2021 22:20:42 +0000 (20 15:20 -0700)
tree7046df4506dc0f71bbc849aca21d1d5628691c31
parent403192acb6e5f4b2c590ca206acc2a7420ef86a7
parent4bc1fd6e3941be74027594efad3d2358a93702df
Merge branch 'tb/pack-finalize-ordering'

The order in which various files that make up a single (conceptual)
packfile has been reevaluated and straightened up.  This matters in
correctness, as an incomplete set of files must not be shown to a
running Git.

* tb/pack-finalize-ordering:
  pack-objects: rename .idx files into place after .bitmap files
  pack-write: split up finish_tmp_packfile() function
  builtin/index-pack.c: move `.idx` files into place last
  index-pack: refactor renaming in final()
  builtin/repack.c: move `.idx` files into place last
  pack-write.c: rename `.idx` files after `*.rev`
  pack-write: refactor renaming in finish_tmp_packfile()
  bulk-checkin.c: store checksum directly
  pack.h: line-wrap the definition of finish_tmp_packfile()
builtin/index-pack.c
builtin/pack-objects.c
builtin/repack.c
pack-write.c