summaryrefslogtreecommitdiff
path: root/builtin/repack.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-09-20 22:20:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-09-20 22:20:42 (GMT)
commita1af5333234b42e9e44729280a0e92b989bd865d (patch)
tree7046df4506dc0f71bbc849aca21d1d5628691c31 /builtin/repack.c
parent403192acb6e5f4b2c590ca206acc2a7420ef86a7 (diff)
parent4bc1fd6e3941be74027594efad3d2358a93702df (diff)
downloadgit-a1af5333234b42e9e44729280a0e92b989bd865d.zip
git-a1af5333234b42e9e44729280a0e92b989bd865d.tar.gz
git-a1af5333234b42e9e44729280a0e92b989bd865d.tar.bz2
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()
Diffstat (limited to 'builtin/repack.c')
-rw-r--r--builtin/repack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/repack.c b/builtin/repack.c
index 82ab668..c1a2090 100644
--- a/builtin/repack.c
+++ b/builtin/repack.c
@@ -208,10 +208,10 @@ static struct {
unsigned optional:1;
} exts[] = {
{".pack"},
- {".idx"},
{".rev", 1},
{".bitmap", 1},
{".promisor", 1},
+ {".idx"},
};
static unsigned populate_pack_exts(char *name)