diff options
author | Jakub Narebski <jnareb@gmail.com> | 2010-04-24 15:53:19 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-05-01 12:09:43 -0700 |
commit | 377bee3424ba871278d230ed296f74ccac8ad607 (patch) | |
tree | cd6b83146ade0ac1b045dc90fd9aadd6994444e2 /unimplemented.sh | |
parent | 5ae8030fdeb0bb00b94cc830dc98d4fb9d0d532e (diff) | |
download | git-377bee3424ba871278d230ed296f74ccac8ad607.tar.gz git-377bee3424ba871278d230ed296f74ccac8ad607.tar.xz |
gitweb: href(..., -path_info => 0|1)
If named boolean option -path_info is passed to href() subroutine, it
would use its value to decide whether to generate path_info URL form.
If this option is not passed, href() queries 'pathinfo' feature to
check whether to generate path_info URL (if generating path_info link
is possible at all).
href(-replay=>1, -path_info=>0) is meant to be used to generate a key
for caching gitweb output; alternate solution would be to use freeze()
from Storable (core module) on %input_params hash (or its reference),
e.g.:
$key = freeze \%input_params;
or other serialization of %input_params.
While at it document extra options/flags to href().
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Acked-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unimplemented.sh')
0 files changed, 0 insertions, 0 deletions