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)
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>
No differences found