author | Jakub Narebski <jnareb@gmail.com> | |
Sat, 24 Apr 2010 14:01:10 +0000 (16:01 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 1 May 2010 19:10:05 +0000 (12:10 -0700) | ||
commit | efb2d0c5dcea1069bae2d26c9534e2025ee63e66 | |
tree | d5d89d3f8fd368c349b377d22e0c6f683dc60573 | tree | snapshot |
parent | 7a59745710e964f9498f37a3184bf95b9b4a772b | commit | diff |
gitweb: Move generating page title to separate subroutine
get_page_title subroutine is currently used only in git_header_html.
Nevertheless refactoring title generation allowed to reduce indent
level.
It would be used in more than one callsite in the patch adding caching
activity indicator to gitweb.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Acked-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
get_page_title subroutine is currently used only in git_header_html.
Nevertheless refactoring title generation allowed to reduce indent
level.
It would be used in more than one callsite in the patch adding caching
activity indicator to gitweb.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Acked-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl | diff | blob | history |