[PATCH] add new option atom-root (was: Relative URL for Atom feed announcement)
Daniel Reichelt
hacking at nachtgeist.net
Thu Aug 13 06:49:06 CEST 2015
Hi folks,
quite a while back, I suggested to create the link of the atom feed as relative
URL [1]. This worked as long as only the feed titles would be viewed but as soon
as one would want to actually use the links *within* the feed, one was lost again.
After a little bit of thinking I came up with the patch following this mail.
Opinions?
Cheers
Daniel
[1] http://lists.zx2c4.com/pipermail/cgit/2014-January/001629.html
Daniel Reichelt (1):
add new option atom-root
cgit.c | 2 ++
cgit.h | 1 +
cgitrc.5.txt | 6 ++++++
ui-atom.c | 16 ++++++++++++----
ui-shared.c | 8 ++++++--
5 files changed, 27 insertions(+), 6 deletions(-)
--
2.1.4
More information about the CGit
mailing list