From: Jonathan Nieder Date: Sat, 4 Sep 2010 00:44:39 +0000 (-0500) Subject: gitweb: skip logo in atom feed when there is none X-Git-Tag: v1.7.3.5~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9d9f5e72dc5959750498acc81b3e2c8ca76ad499;p=git.git gitweb: skip logo in atom feed when there is none With v1.5.0-rc0~169 (gitweb: Fix Atom feed : it is $logo, not $logo_url, 2006-12-04), the logo URI to be written to Atom feeds was corrected but the case of no logo forgotten. Acked-by: Eric Wong Signed-off-by: Jonathan Nieder Acked-by: Jakub Narebski Signed-off-by: Junio C Hamano --- diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 42cc1da7f..59b2e08b9 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -6870,7 +6870,7 @@ XML if (defined $favicon) { print "" . esc_url($favicon) . "\n"; } - if (defined $logo_url) { + if (defined $logo) { # not twice as wide as tall: 72 x 27 pixels print "" . esc_url($logo) . "\n"; }