Code

Fix use of "perl -i" on Windows
authorAlex Riesen <raa.lkml@gmail.com>
Wed, 25 Jun 2008 18:35:13 +0000 (20:35 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 Jun 2008 00:21:52 +0000 (17:21 -0700)
commit3015fa5846c19e79f99c1d6a49fd2510ed9291b8
tree1d78e7f18e9da6c8686ad64d52c94a541297523d
parente2da671a642d5987d9a08f56b19172767272d9be
Fix use of "perl -i" on Windows

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.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5303-pack-corruption-resilience.sh
t/t9106-git-svn-dcommit-clobber-series.sh
templates/hooks--prepare-commit-msg.sample