projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d69195
)
git-mv to work with Perl 5.6
author
Junio C Hamano
<junkio@twinsun.com>
Tue, 6 Dec 2005 02:14:34 +0000
(18:14 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Tue, 6 Dec 2005 03:12:27 +0000
(19:12 -0800)
List form of pipe open is 5.8 invention.
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-mv.perl
patch
|
blob
|
history
diff --git
a/git-mv.perl
b/git-mv.perl
index
b6c0b48
..
83dc7e4
100755
(executable)
--- 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>;