Code

gitweb: Include links to feeds in HTML header only for '200 OK' response
authorJakub Narebski <jnareb@gmail.com>
Sat, 18 Dec 2010 20:02:13 +0000 (21:02 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 19 Dec 2010 06:58:45 +0000 (22:58 -0800)
commit05bb5a2584ca0e1c87a2135a83c5573b9337d06f
tree509c7ae70c05dcdcb90d0d1554e7505decc21bc5
parent0c806a06a311081ba02f60ffd2711853c1b9d6fc
gitweb: Include links to feeds in HTML header only for '200 OK' response

To do that, generating "<link />"s to feeds were refactored into
print_feed_meta() subroutine, to keep nesting (indent) level in
git_header_html() low.  This has also the advantage of making code
more clear.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: John 'Warthog9' Hawley <warthog9@eaglescrag.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl