From: Giuseppe Bilotta Date: Mon, 29 Jun 2009 22:00:49 +0000 (+0200) Subject: gitweb: uniform author info for commit and commitdiff X-Git-Tag: v1.6.4-rc0~2^2~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f88bafadd9b2562a0cd2500c5a9669d3741243b5;p=git.git gitweb: uniform author info for commit and commitdiff Switch from 'log'-like layout A U Thor [date time] to 'commit'-like layout author A U Thor date time committer C O Mitter committer date time Signed-off-by: Giuseppe Bilotta Signed-off-by: Junio C Hamano --- diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 7fd53f68d..9a8d775ad 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -5596,7 +5596,11 @@ sub git_commitdiff { git_header_html(undef, $expires); git_print_page_nav('commitdiff','', $hash,$co{'tree'},$hash, $formats_nav); git_print_header_div('commit', esc_html($co{'title'}) . $ref, $hash); - git_print_authorship(\%co, -localtime => 1); + print "
\n" . + "\n"; + git_print_authorship_rows(\%co); + print "
". + "
\n"; print "
\n"; if (@{$co{'comment'}} > 1) { print "
\n";