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-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/3def003dbde3c8d9b8907639e4f2a5c551ba48413a5e0656a580de51160a78a9 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.perl b/gitweb.perl index 9056af8..9893660 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -7170,7 +7170,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"; }