X-Git-Url: https://git.chrismorgan.info/gitweb/blobdiff_plain/c5c506a5f26db11ca4d8e37082b9f7ac4ce25a7a..551153f207012c627e108ba38b2fc0715a2f64fb:/gitweb.cgi diff --git a/gitweb.cgi b/gitweb.cgi index ef15a70..8ece13d 100755 --- a/gitweb.cgi +++ b/gitweb.cgi @@ -4546,9 +4546,6 @@ sub format_timestamp_html { } my $localtime_format = '(%02d:%02d %s)'; - if ($date->{'hour_local'} < 6) { - $localtime_format = '(%02d:%02d %s)'; - } $strtime .= ' ' . sprintf($localtime_format, $date->{'hour_local'}, $date->{'minute_local'}, $date->{'tz_local'}); @@ -4682,11 +4679,6 @@ sub git_print_log { print format_log_line_html($line) . "
\n"; } - - if ($opts{'-final_empty_line'}) { - # end with single empty line - print "
\n" unless $skip_blank_line; - } } # return link target (what link points to) @@ -5928,13 +5920,12 @@ sub git_log_body { $cgi->a({-href => href(action=>"commitdiff", hash=>$commit)}, "commitdiff") . " | " . $cgi->a({-href => href(action=>"tree", hash=>$commit, hash_base=>$commit)}, "tree") . - "
\n" . "\n"; git_print_authorship(\%co, -tag => 'span'); - print "
\n\n"; + print "\n"; print "
\n"; - git_print_log($co{'comment'}, -final_empty_line=> 1); + git_print_log($co{'comment'}); print "
\n"; } if ($extra) { @@ -8017,7 +8008,7 @@ sub git_commitdiff { print "
\n"; if (@{$co{'comment'}} > 1) { print "
\n"; - git_print_log($co{'comment'}, -final_empty_line=> 1, -remove_title => 1); + git_print_log($co{'comment'}, -remove_title => 1); print "
\n"; # class="log" }