Skip to content

Commit 839fc31

Browse files
committed
Merge branch 'ps/maintenance-geometric' into next
"git maintenance" command learns the "geometric" strategy where it avoids doing maintenance tasks that rebuilds everything from scratch. * ps/maintenance-geometric: t7900: fix a flaky test due to git-repack always regenerating MIDX
2 parents 38ec6c3 + a426557 commit 839fc31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t7900-maintenance.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,9 +500,9 @@ test_expect_success 'geometric repacking task' '
500500
501501
# Repacking should now cause a no-op geometric repack because
502502
# no packfiles need to be combined.
503-
ls -l .git/objects/pack >before &&
503+
ls -l .git/objects/pack/*.pack >before &&
504504
run_and_verify_geometric_pack 1 &&
505-
ls -l .git/objects/pack >after &&
505+
ls -l .git/objects/pack/*.pack >after &&
506506
test_cmp before after &&
507507
508508
# This incremental change creates a new packfile that only

0 commit comments

Comments
 (0)