commit 2e2e941dbf1ed285af45c5a5029c00452961ff0582627161661326dc26ae28e4 from: Stefan Sperling date: Wed May 20 12:52:43 2026 UTC fix test failures with Git 2.54. As of Git 2.54, the automatic maintenance strategy now defaults to "geometric repacking", which writes multi-pack-index (MIDX) files which Game of Trees lacks support for. If 'gotadmin cleanup' is run on repositories using MIDX files then 'git fsck' will complain. To keep test_cleanup_redundant_pack_files passing we can disable automatic maintenance on Git repositories used by the test suite. Which our test suite should have been doing anyway for predictable results. Problem first reported by naddy@ in https://marc.gameoftrees.org/mail/1778459401.3079_0.html Thanks to Patrik Steinhardt for explaining the Git-side changes to me. commit - 567001ae976c0f92835613778c51db71afc405020301113a2d80e1f7fb1dbd99 commit + 2e2e941dbf1ed285af45c5a5029c00452961ff0582627161661326dc26ae28e4 blob - daf95edbd2da14ba542fb6d747a068556327892ee6efb0025b6469891bebf7d9 blob + ce2c12bcc26caadaab572e3f44886dc596dbe7961b0adf08bdb47938b9922d89 --- regress/cmdline/common.sh +++ regress/cmdline/common.sh @@ -54,6 +54,8 @@ git_init() # TODO: Update all tests to assume 'main' instead of 'master' and # switch to main here, to match Got's own default. echo "ref: refs/heads/master" > "$1/.git/HEAD" + + git -C "$1" config set maintenance.auto false } maybe_pack_repo()