From: Rocco Rutte Date: Tue, 30 May 2006 12:40:10 +0000 (+0200) Subject: prepend '--' to filelist when calling git-diff-tree X-Git-Tag: v1.4.0~1^2~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=bfb689bcf33addfe3fdfe8cb214a661c9d6d4b19;p=git.git prepend '--' to filelist when calling git-diff-tree --- diff --git a/gitweb.cgi b/gitweb.cgi index 016045e2..9ee24b8c 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;