From: Tony Finch Date: Tue, 02 Jul 2013 16:24:24 GMT Subject: [PATCH 3/4] gitweb: omit the repository owner when it is unset Message-ID: In-Reply-To: <20130714234915.GB19057@google.com> On the repository summary page, leave the whole owner line out if the repo does not have an owner, rather than displaying a labelled empty field.. Signed-off-by: Tony Finch --- gitweb/gitweb.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 8d69ada..c029b98 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'}) { -- 1.8.3.1.605.g85318f5
description" . esc_html($descr) . "
owner" . esc_html($owner) . "