summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>;