gitweb: Add an option to href() to return full URL
commitbd5d1e42fb8edffa4e35d1257f648d586b2d054c
authorJakub Narebski <jnareb@gmail.com>
Sun, 19 Nov 2006 14:05:21 +0000 (19 15:05 +0100)
committerJunio C Hamano <junkio@cox.net>
Tue, 21 Nov 2006 22:35:41 +0000 (21 14:35 -0800)
tree34cb3f994add04828dd280614c46b01a7ce3ff66
parent59e3b14e08bf309baa692bf251b2cedcde131308
gitweb: Add an option to href() to return full URL

href subroutine by default generates absolute URL (generated using
CGI::url(-absolute=>1), and saved in $my_uri) using $my_uri as base;
add an option to generate full URL using $my_url as base.

New feature usage: href(..., -full=>1)

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl