commit 39958d0b3edc8d5f522b8263cf8aa2cb1aa64020 from: Omar Polo date: Wed Feb 01 16:40:54 2023 UTC cleanup.sh: use `rm -f' to avoid prompting, packfiles are now read-only ok stsp@ commit - 427f294cd8765e673b3d562140ee3c5b895249fc commit + 39958d0b3edc8d5f522b8263cf8aa2cb1aa64020 blob - 06fe38880f4015429de2b40bbdae85ed128d5925 blob + 2381958704d73cb1ebaeb0f7af8d2bf01b7d434f --- 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 \