author | Jakub Narebski <jnareb@gmail.com> | |
Sat, 18 Dec 2010 20:02:13 +0000 (21:02 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 19 Dec 2010 06:58:45 +0000 (22:58 -0800) | ||
commit | 05bb5a2584ca0e1c87a2135a83c5573b9337d06f | |
tree | 509c7ae70c05dcdcb90d0d1554e7505decc21bc5 | tree | snapshot |
parent | 0c806a06a311081ba02f60ffd2711853c1b9d6fc | commit | diff |
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>
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 | diff | blob | history |