gitweb: do not quote path for list version of open "-|"
authorJakub Narebski <jnareb@gmail.com>
Mon, 31 Jul 2006 16:33:37 +0000 (18:33 +0200)
committerJunio C Hamano <junkio@cox.net>
Mon, 31 Jul 2006 19:08:29 +0000 (12:08 -0700)
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.cgi

index c741e739d0c73f3cfd133919ec6eb7cf3f2a3839..73d14ffb100a62af275db3cb4791691d12f0b255 100755 (executable)
@@ -2347,7 +2347,7 @@ sub git_history {
        git_print_page_path($file_name, $ftype);
 
        open my $fd, "-|",
-               $GIT, "rev-list", "--full-history", $hash_base, "--", "\'$file_name\'";
+               $GIT, "rev-list", "--full-history", $hash_base, "--", $file_name;
        print "<table cellspacing=\"0\">\n";
        my $alternate = 0;
        while (my $line = <$fd>) {