From bfb689bcf33addfe3fdfe8cb214a661c9d6d4b19 Mon Sep 17 00:00:00 2001 From: Rocco Rutte Date: Tue, 30 May 2006 14:40:10 +0200 Subject: 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 016045e2ab..9ee24b8c4b 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; -- cgit v1.2.3