]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: skip logo in atom feed when there is none
authorJonathan Nieder <redacted>
Sat, 4 Sep 2010 00:44:39 +0000 (19:44 -0500)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:30 +0000 (00:51 -0400)
With v1.5.0-rc0~169 (gitweb: Fix Atom feed <logo>: 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 <redacted>
Signed-off-by: Jonathan Nieder <redacted>
Acked-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl

index 9056af8dadb25a479afa8bbc84a2df3d7f3f143b710abac1f74578dab1df701c..9893660ffef93445c39afa7ab468cf740b46189b24505c8a275d5f77c22e207b 100755 (executable)
@@ -7170,7 +7170,7 @@ XML
                if (defined $favicon) {
                        print "<icon>" . esc_url($favicon) . "</icon>\n";
                }
-               if (defined $logo_url) {
+               if (defined $logo) {
                        # not twice as wide as tall: 72 x 27 pixels
                        print "<logo>" . esc_url($logo) . "</logo>\n";
                }
This page took 0.314502 seconds and 4 git commands to generate.