Skip to content

Commit

Permalink
git-mv to work with Perl 5.6
Browse files Browse the repository at this point in the history
List form of pipe open is 5.8 invention.

Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
Junio C Hamano authored and Junio C Hamano committed Dec 6, 2005
1 parent 8d69195 commit 23c99d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-mv.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down

0 comments on commit 23c99d8

Please sign in to comment.