gitweb: Move generating page title to separate subroutine
authorJakub Narebski <jnareb@gmail.com>
Sat, 24 Apr 2010 14:01:10 +0000 (16:01 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 1 May 2010 19:10:05 +0000 (12:10 -0700)
commitefb2d0c5dcea1069bae2d26c9534e2025ee63e66
treed5d89d3f8fd368c349b377d22e0c6f683dc60573
parent7a59745710e964f9498f37a3184bf95b9b4a772b
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>
gitweb/gitweb.perl