@matheusbsbs / matheus-bagliano / commits / bfb689bcf3
Fork 0

prepend '--' to filelist when calling git-diff-tree

Rocco Rutte committed May 30, 2006 at 14:40 UTC bfb689bcf33addfe3fdfe8cb214a661c9d6d4b19
1 file changed +1 -1
gitweb.cgi
+1 -1
@@ -2123,7 +2123,7 @@ sub git_history {
2123 "</div>\n";
2124 print "<div class=\"page_path\"><b>/" . esc_html($file_name) . "</b><br/></div>\n";
2125
2126 - open my $fd, "-|", "$gitbin/git-rev-list $hash | $gitbin/git-diff-tree -r --stdin \'$file_name\'";
2126 + open my $fd, "-|", "$gitbin/git-rev-list $hash | $gitbin/git-diff-tree -r --stdin -- \'$file_name\'";
2127 my $commit;
2128 print "<table cellspacing=\"0\">\n";
2129 my $alternate = 0;