summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Rocco Rutte <pdmef@gmx.net>2006-05-30 14:40:10 +0200
committerLibravatar Kay Sievers <kay.sievers@suse.de>2006-05-30 14:40:10 +0200
commitbfb689bcf33addfe3fdfe8cb214a661c9d6d4b19 (patch)
tree91e37feb0de53351c6b5baaf58396a2778d6e97f
parentv266 (diff)
downloadtgif-bfb689bcf33addfe3fdfe8cb214a661c9d6d4b19.tar.xz
prepend '--' to filelist when calling git-diff-tree
-rwxr-xr-xgitweb.cgi2
1 files changed, 1 insertions, 1 deletions
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 {
"</div>\n";
print "<div class=\"page_path\"><b>/" . esc_html($file_name) . "</b><br/></div>\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 "<table cellspacing=\"0\">\n";
my $alternate = 0;