Skip to content

Commit f88bafa

Browse files
Oblomovgitster
authored andcommitted
gitweb: uniform author info for commit and commitdiff
Switch from 'log'-like layout A U Thor <[email protected]> [date time] to 'commit'-like layout author A U Thor <[email protected]> date time committer C O Mitter <[email protected]> committer date time Signed-off-by: Giuseppe Bilotta <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1c49a4e commit f88bafa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

gitweb/gitweb.perl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5596,7 +5596,11 @@ sub git_commitdiff {
55965596
git_header_html(undef, $expires);
55975597
git_print_page_nav('commitdiff','', $hash,$co{'tree'},$hash, $formats_nav);
55985598
git_print_header_div('commit', esc_html($co{'title'}) . $ref, $hash);
5599-
git_print_authorship(\%co, -localtime => 1);
5599+
print "<div class=\"title_text\">\n" .
5600+
"<table class=\"object_header\">\n";
5601+
git_print_authorship_rows(\%co);
5602+
print "</table>".
5603+
"</div>\n";
56005604
print "<div class=\"page_body\">\n";
56015605
if (@{$co{'comment'}} > 1) {
56025606
print "<div class=\"log\">\n";

0 commit comments

Comments
 (0)