Thread (29 messages) flat view 29 messages, 2 authors, 2016-06-15

[PATCHv7 2/9] gitweb: uniform author info for commit and commitdiff

From: Giuseppe Bilotta <hidden>
Date: 2016-06-15 22:46:59
Subsystem: the rest · Maintainer: Linus Torvalds

Switch from

A U Thor [off-list ref] [date time]

to

author	A U Thor [off-list ref]
	date time
committer	C O Mitter [off-list ref]
	committer date time

Signed-off-by: Giuseppe Bilotta <redacted>
---
 gitweb/gitweb.perl |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 9be723c..0d8005d 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -5599,7 +5599,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";
-- 
1.6.3.rc1.192.gdbfcb
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help