combine-diff: better hunk splitting.
[gitweb.git] / git-mv.perl
index b6c0b4881845bf6a8d9681817fc540a2003b889e..83dc7e45cf205c7575512182bf29516914773209 100755 (executable)
@@ -62,7 +62,7 @@ ()
 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>;