summaryrefslogtreecommitdiff
path: root/git-mv.perl
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@twinsun.com>2005-12-06 02:14:34 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-12-06 03:12:27 (GMT)
commit23c99d84601316c1e51ebc1f0b9bec5cddd011fb (patch)
tree0e248e1eed0d5aedd0054cf273df03460047ebc9 /git-mv.perl
parent8d69195124c826756c025fc84d993d92ff119075 (diff)
downloadgit-23c99d84601316c1e51ebc1f0b9bec5cddd011fb.zip
git-23c99d84601316c1e51ebc1f0b9bec5cddd011fb.tar.gz
git-23c99d84601316c1e51ebc1f0b9bec5cddd011fb.tar.bz2
git-mv to work with Perl 5.6
List form of pipe open is 5.8 invention. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-mv.perl')
-rwxr-xr-xgit-mv.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-mv.perl b/git-mv.perl
index b6c0b48..83dc7e4 100755
--- a/git-mv.perl
+++ b/git-mv.perl
@@ -62,7 +62,7 @@ my $safesrc;
my (%overwritten, %srcForDst);
$/ = "\0";
-open(F,"-|","git-ls-files","-z")
+open(F, 'git-ls-files -z |')
or die "Failed to open pipe from git-ls-files: " . $!;
@allfiles = map { chomp; $_; } <F>;