From: Junio C Hamano Date: Wed, 25 Jun 2008 17:42:07 GMT Subject: Re: Fix t5303 (the test case for pack corruptions) on Windows Message-ID: <7vskv11keo.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20080625164438.GA4039@steel.home> Alex Riesen writes: > The perldiag(1) has following to say about this: > > "Can't do inplace edit without backup" > > (F) You're on a system such as MS-DOS that gets confused if > you try reading from a deleted (but still opened) file. You > have to say -i.bak, or some such. Thanks. By the way, there are others. t/t9106-git-svn-dcommit-clobber-series.sh:23: perl -i -p -e "s/^58$/5588/" file && t/t9106-git-svn-dcommit-clobber-series.sh:24: perl -i -p -e "s/^61$/6611/" file && t/t9106-git-svn-dcommit-clobber-series.sh:43: perl -i -p -e 's/^4\$/4444/' file && t/t9106-git-svn-dcommit-clobber-series.sh:44: perl -i -p -e 's/^7\$/7777/' file && templates/hooks--prepare-commit-msg.sample:25: perl -i -ne 's/^/# /, s/^# #/#/ if /^Conflicts/ .. /#/; print' "$1" ;; templates/hooks--prepare-commit-msg.sample:28:# perl -i -pe '