]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: uniform author info for commit and commitdiff
authorGiuseppe Bilotta <redacted>
Mon, 29 Jun 2009 22:00:49 +0000 (00:00 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:50:38 +0000 (00:50 -0400)
Switch from 'log'-like layout

    A U Thor <redacted> [date time]

to 'commit'-like layout

    author    A U Thor <redacted>
              date time
    committer C O Mitter <redacted>
              committer date time

Signed-off-by: Giuseppe Bilotta <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl

index 2811dea2e4efa67d1b8e6b7262306e89a4e5598f137d930f5a154194903bbc69..913aa90f44e5954ddad7f3c46d6f8186b1c96fd7823db7b3f90292c04f9c7546 100755 (executable)
@@ -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 "<div class=\"title_text\">\n" .
+                     "<table class=\"object_header\">\n";
+               git_print_authorship_rows(\%co);
+               print "</table>".
+                     "</div>\n";
                print "<div class=\"page_body\">\n";
                if (@{$co{'comment'}} > 1) {
                        print "<div class=\"log\">\n";
This page took 0.142773 seconds and 4 git commands to generate.