Merge branch 'tb/pack-finalize-ordering' into maint
commit628746020326d329c4e50289da41d2b7fc3e51fa
authorJunio C Hamano <gitster@pobox.com>
Tue, 12 Oct 2021 20:51:45 +0000 (12 13:51 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Oct 2021 20:51:46 +0000 (12 13:51 -0700)
treefde3ec844045a61c6c863577ed2211291cdb9f97
parent6aa501aab2668edcd3989dfe6f1cffb82552212c
parent4bc1fd6e3941be74027594efad3d2358a93702df
Merge branch 'tb/pack-finalize-ordering' into maint

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
pack-write.c