@matheusbsbs / matheus-bagliano / commits / f88bafadd9
Fork 0

gitweb: uniform author info for commit and commitdiff

Switch from 'log'-like layout A U Thor <email@example.com> [date time] to 'commit'-like layout author A U Thor <email@example.com> date time committer C O Mitter <other.email@example.com> committer date time Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Giuseppe Bilotta committed Jun 30, 2009 at 00:00 UTC f88bafadd9b2562a0cd2500c5a9669d3741243b5
1 file changed +5 -1
gitweb/gitweb.perl
+5 -1
@@ -5596,7 +5596,11 @@ sub git_commitdiff {
5596 git_header_html(undef, $expires);
5597 git_print_page_nav('commitdiff','', $hash,$co{'tree'},$hash, $formats_nav);
5598 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";
5604 print "<div class=\"page_body\">\n";
5605 if (@{$co{'comment'}} > 1) {
5606 print "<div class=\"log\">\n";