summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8d69195)
raw | patch | inline | side by side (parent: 8d69195)
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>
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 b6c0b4881845bf6a8d9681817fc540a2003b889e..83dc7e45cf205c7575512182bf29516914773209 100755 (executable)
--- a/git-mv.perl
+++ b/git-mv.perl
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>;