diff options
author | Junio C Hamano <junkio@twinsun.com> | 2005-12-05 18:14:34 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-12-05 19:12:27 -0800 |
commit | 23c99d84601316c1e51ebc1f0b9bec5cddd011fb (patch) | |
tree | 0e248e1eed0d5aedd0054cf273df03460047ebc9 /git-mv.perl | |
parent | 8d69195124c826756c025fc84d993d92ff119075 (diff) | |
download | git-23c99d84601316c1e51ebc1f0b9bec5cddd011fb.tar.gz git-23c99d84601316c1e51ebc1f0b9bec5cddd011fb.tar.xz |
git-mv to work with Perl 5.6
List form of pipe open is 5.8 invention.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-mv.perl')
-rwxr-xr-x | git-mv.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-mv.perl b/git-mv.perl index b6c0b4881..83dc7e45c 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>; |