[PATCH 2/2] builtin/repack.c: move `.idx` files into place last
- From
Taylor Blau <me@ttaylorr.com>
- Date
- Sep 1, 2021, 02:06 UTC
- Message-ID
- <a6a4d2154e83d41c10986c5f455279ab249a910c.1630461918.git.me@ttaylorr.com>
- In-Reply-To
- <cover.1630461918.git.me@ttaylorr.com>
In a similar spirit as the previous patch, fix the identical problem from `git repack` (which invokes `pack-objects` with a temporary location for output, and then moves the files into their final locations itself).
Signed-off-by: Taylor Blau <me@ttaylorr.com> --- builtin/repack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtin/repack.c b/builtin/repack.c index 5f9bc74adc..c3e4771609 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)
-- 2.33.0.96.g73915697e6