From: Giuseppe Bilotta Date: Mon, 29 Jun 2009 22:00:49 +0000 (+0200) Subject: gitweb: uniform author info for commit and commitdiff X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/cb868cdd4929f94006f09844680c24a0f7a576c46b54bbc9184b319b8f42742e 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.perl b/gitweb.perl index 2811dea..913aa90 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -5597,7 +5597,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";