Relative URL for Atom feed announcement

Daniel Reichelt nl at
Sat Nov 30 06:56:37 CET 2013

Hi folks,

rationale for this patch:

* Debian wheezy
* VirtualHost container for git repositories (running under a different
user than www-data using apache2-mpm-itk on port 446)
* include said vhost via reverse proxy in the main https site

Calling the main site, the Atom feed URL gets created as

<link rel='alternate' title='Atom feed'

which is obviously useless. As far as I can tell every other URL is
created as relative href, so the attached patch changes the feed URL to
a relative one as well, namely

<link rel='alternate' title='Atom feed' href='/repositories/cgit/[...]'



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-use-relative-URL-for-link-rel-alternate-title-Atom-f.patch
Type: text/x-patch
Size: 787 bytes
Desc: not available
URL: <>

More information about the CGit mailing list