From bfb689bcf33addfe3fdfe8cb214a661c9d6d4b19 Mon Sep 17 00:00:00 2001 From: Rocco Rutte Date: Tue, 30 May 2006 14:40:10 +0200 Subject: [PATCH] prepend '--' to filelist when calling git-diff-tree --- gitweb.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitweb.cgi b/gitweb.cgi index 016045e2a..9ee24b8c4 100755 --- a/gitweb.cgi +++ b/gitweb.cgi @@ -2123,7 +2123,7 @@ sub git_history { "\n"; print "
/" . esc_html($file_name) . "
\n"; - open my $fd, "-|", "$gitbin/git-rev-list $hash | $gitbin/git-diff-tree -r --stdin \'$file_name\'"; + open my $fd, "-|", "$gitbin/git-rev-list $hash | $gitbin/git-diff-tree -r --stdin -- \'$file_name\'"; my $commit; print "\n"; my $alternate = 0; -- 2.30.2