@matheusbsbs / matheus-bagliano / commits / 822c185907
Fork 0

gitweb: do not quote path for list version of open "-|"

Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>

Jakub Narebski committed Jul 31, 2006 at 18:33 UTC 822c185907f27c02ce7791985ea9241e37041d5f
1 file changed +1 -1
gitweb/gitweb.cgi
+1 -1
@@ -2347,7 +2347,7 @@ sub git_history {
2347 git_print_page_path($file_name, $ftype);
2348
2349 open my $fd, "-|",
2350 - $GIT, "rev-list", "--full-history", $hash_base, "--", "\'$file_name\'";
2350 + $GIT, "rev-list", "--full-history", $hash_base, "--", $file_name;
2351 print "<table cellspacing=\"0\">\n";
2352 my $alternate = 0;
2353 while (my $line = <$fd>) {