gitweb: Create Gitweb::View module
Create Gitweb::View module in 'gitweb/lib/Gitweb/View.pm'
to store the subroutines related to the HTML output
for gitweb.
This module depends on Git.pm, Config.pm, Request.pm,
Escape.pm and RepoConfig.pm. Action specific HTML div
subroutines are not included in this module due to
unmet dependencies of Gitweb::Parse and Gitweb::Format.
Subroutines moved:
*href
get_feed_info
*chop_str
chop_and_escape_str
*age_class
age_string
*S_ISGITLINK
mode_str
file_type
file_type_long
*get_page_title
git_header_html
git_footer_html
die_error
*git_print_page_nav
format_paging_nav
git_print_header_div
git_print_page_path
*print_local_time
format_local_time
*insert_file
*git_get_link_target
normalize_link_target
git_print_tree_entry
*print_sort_th
format_sort_th
Update 'gitweb/Makefile' to install Gitweb::View alongside gitweb.
Signed-off-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>