gitweb: Get rid of git_print_simplified_log
Replace calls to git_print_simplified_log with its expansion, i.e. with calling git_print_log with appropriate options. Remove no longer used git_print_simplified_log subroutine. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Jakub Narebski committed
Oct 24, 2006 at 13:52 UTC
f2069411c9b5b5c99756cdfb2e54a61aef5c9f72
1 file changed
+2
-11
gitweb/gitweb.perl
+2
-11
@@ -1776,15 +1776,6 @@ sub git_print_log ($;%) {
1776
}
1777
}
1778
1779
-sub git_print_simplified_log {
1780
- my $log = shift;
1781
- my $remove_title = shift;
1782
-
1783
- git_print_log($log,
1784
- -final_empty_line=> 1,
1785
- -remove_title => $remove_title);
1786
-}
1787
-
1779
# print tree entry (row of git_tree), but without encompassing <tr> element
1780
sub git_print_tree_entry {
1781
my ($t, $basedir, $hash_base, $have_blame) = @_;
@@ -3101,7 +3092,7 @@ sub git_log {
3092
"</div>\n";
3093
3094
print "<div class=\"log_body\">\n";
3104
- git_print_simplified_log($co{'comment'});
3095
+ git_print_log($co{'comment'}, -final_empty_line=> 1);
3096
print "</div>\n";
3097
}
3098
git_footer_html();
@@ -3433,7 +3424,7 @@ sub git_commitdiff {
3424
git_print_authorship(\%co);
3425
print "<div class=\"page_body\">\n";
3426
print "<div class=\"log\">\n";
3436
- git_print_simplified_log($co{'comment'}, 1); # skip title
3427
+ git_print_log($co{'comment'}, -final_empty_line=> 1, -remove_title => 1);
3428
print "</div>\n"; # class="log"
3429
3430
} elsif ($format eq 'plain') {