From: Jakub Narebski Date: Tue, 24 Oct 2006 11:52:46 +0000 (+0200) Subject: gitweb: Get rid of git_print_simplified_log X-Git-Tag: v1.4.4-rc1~67^2~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f2069411c9b5b5c99756cdfb2e54a61aef5c9f72;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index a201043dd..5f0a13426 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -1776,15 +1776,6 @@ sub git_print_log ($;%) { } } -sub git_print_simplified_log { - my $log = shift; - my $remove_title = shift; - - git_print_log($log, - -final_empty_line=> 1, - -remove_title => $remove_title); -} - # print tree entry (row of git_tree), but without encompassing element sub git_print_tree_entry { my ($t, $basedir, $hash_base, $have_blame) = @_; @@ -3101,7 +3092,7 @@ sub git_log { "\n"; print "
\n"; - git_print_simplified_log($co{'comment'}); + git_print_log($co{'comment'}, -final_empty_line=> 1); print "
\n"; } git_footer_html(); @@ -3433,7 +3424,7 @@ sub git_commitdiff { git_print_authorship(\%co); print "
\n"; print "
\n"; - git_print_simplified_log($co{'comment'}, 1); # skip title + git_print_log($co{'comment'}, -final_empty_line=> 1, -remove_title => 1); print "
\n"; # class="log" } elsif ($format eq 'plain') {