commit 3fa67434f818eb74503c8b812c0a506ae1c650fa from: Omar Polo via: Thomas Adam date: Fri Feb 03 15:22:14 2023 UTC cleanup.sh: use `rm -f' to avoid prompting, packfiles are now read-only ok stsp@ commit - 0f23036a1e7b488206af69d68173c2654d9add80 commit + 3fa67434f818eb74503c8b812c0a506ae1c650fa blob - 60a40315d79637d48e412742ed0a518bfb7fb2c0 blob + ff88fa0f899492f3fa3b3c7de17adcf1502facc4 --- regress/cmdline/cleanup.sh +++ regress/cmdline/cleanup.sh @@ -291,7 +291,7 @@ test_cleanup_missing_pack_file() { # Some freshly cloned Git repositories suffer from lonely pack index # files. Remove the pack file we just wrote to simulate this issue. - rm $testroot/repo/.git/objects/pack/pack-$packname + rm -f $testroot/repo/.git/objects/pack/pack-$packname # cleanup should now refuse to purge objects gotadmin cleanup -a -q -r $testroot/repo > $testroot/stdout \