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

This commit is contained in:
Rocco Rutte 2006-05-30 14:40:10 +02:00 committed by Kay Sievers
parent 9e4f7d9a5d
commit bfb689bcf3

View File

@ -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;