From 23c99d84601316c1e51ebc1f0b9bec5cddd011fb Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 5 Dec 2005 18:14:34 -0800 Subject: [PATCH] git-mv to work with Perl 5.6 List form of pipe open is 5.8 invention. Signed-off-by: Junio C Hamano --- git-mv.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; $_; } ; -- 2.30.2