From 860ccc605da1d40c0331113eb552151fa925002e Mon Sep 17 00:00:00 2001 From: Tony Finch Date: Tue, 20 Aug 2013 17:59:44 +0100 Subject: [PATCH] gitweb: omit the repository owner when it is unset On the repository summary page, leave the owner line out if the repo does not have an owner, rather than displaying a labelled empty field. This does not affect the owner column in the projects list page, which is present unless $omit_owner is true. Signed-off-by: Tony Finch Signed-off-by: Junio C Hamano --- gitweb/gitweb.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 8d69ada042..c029b98119 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -6463,7 +6463,7 @@ sub git_summary { print "
 
\n"; print "\n" . "\n"; - unless ($omit_owner) { + if ($owner and not $omit_owner) { print "\n"; } if (defined $cd{'rfc2822'}) { -- 2.11.4.GIT
description" . esc_html($descr) . "
owner" . esc_html($owner) . "