From: Giuseppe Bilotta Date: Mon, 26 Jan 2009 11:50:12 +0000 (+0100) Subject: gitweb: feed generator metadata X-Git-Tag: v1.6.2-rc0~75 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ad59a7a359ffa3bf0903f1d35ccfd3910f9bbef2;p=git.git gitweb: feed generator metadata Add tag to RSS and Atom feed. Versioning info (gitweb/git core versions, separated by a literal slash) is stored in the appropriate attribute for the Atom feed, and in the tag content for the RSS feed. Signed-off-by: Giuseppe Bilotta Signed-off-by: Junio C Hamano --- diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index f8a5d2e07..3d94f50cf 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -6085,6 +6085,7 @@ XML "$alt_url\n" . "\n"; } + print "gitweb v.$version/$git_version\n"; } elsif ($format eq 'atom') { print < @@ -6111,6 +6112,7 @@ XML } else { print "$latest_date{'iso-8601'}\n"; } + print "gitweb\n"; } # contents