summaryrefslogtreecommitdiff
path: root/t/t1302-repo-version.sh
diff options
context:
space:
mode:
authorLibravatar Jakub Narebski <jnareb@gmail.com>2010-10-13 13:33:48 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-10-13 09:40:19 -0700
commit7e00dc58d14a5f8ea229e5a0acf5f019028e3a40 (patch)
tree03144155da157e38cc294558f0552b0d52902231 /t/t1302-repo-version.sh
parentgitweb: Fix test of highlighting support in t9500 (diff)
downloadtgif-7e00dc58d14a5f8ea229e5a0acf5f019028e3a40.tar.xz
gitweb: Fix bug in evaluate_path_info
There was bug in parsing "project/:/file" and "project/:/" path_info URLs, with implicit HEAD as 'hash_base'. For such URLs the refname is empty, and before this fix regexp for parsing path_info fragment assumed that it is always non-empty. Refname cannot contain ':', as per 'git check-ref-format'. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1302-repo-version.sh')
0 files changed, 0 insertions, 0 deletions