From: Junio C Hamano Date: Sun, 25 Oct 2026 04:31:31 GMT Subject: Re: [PATCH v1 1/1] t1450: use mv -f when overwriting a read only file Message-ID: In-Reply-To: <20261024183056.6342-1-tboegi@web.de> tboegi@web.de writes: > So it was not the shell being old - but /bin/mv And the flag you want to use is not -v but -f? > > t/t1450-fsck.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/t/t1450-fsck.sh b/t/t1450-fsck.sh > index 16cc5d5dcb..335dcbf0af 100755 > --- a/t/t1450-fsck.sh > +++ b/t/t1450-fsck.sh > @@ -548,7 +548,7 @@ test_expect_success 'rev-list --verify-objects with truncated loose blob' ' > # Truncate the loose blob such that its header can still be > # parsed, but reading the object data fails mid-stream. > test_copy_bytes 64 <"$obj" >obj.tmp && > - mv obj.tmp "$obj" && > + mv -v obj.tmp "$obj" && > > test_must_fail git rev-list --verify-objects "$blob" 2>err && > test_grep "hash mismatch" err