summaryrefslogtreecommitdiff
path: root/t/t4013-diff-various.sh
diff options
context:
space:
mode:
authorLibravatar Jakub Narebski <jnareb@gmail.com>2012-01-07 11:47:38 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-01-09 13:30:59 -0800
commit18ab83e8568878edc3f6680ebdf439ccaa5bf5db (patch)
tree9d071ef5137760a9abea2f986071af5f3779e33e /t/t4013-diff-various.sh
parentGit 1.7.8.3 (diff)
downloadtgif-18ab83e8568878edc3f6680ebdf439ccaa5bf5db.tar.xz
gitweb: Fix actionless dispatch for non-existent objects
When gitweb URL does not provide action explicitly, e.g. http://git.example.org/repo.git/branch dispatch() tries to guess action (view to be used) based on remaining parameters. Among others it is based on the type of requested object, which gave problems when asking for non-existent branch or file (for example misspelt name). Now undefined $action from dispatch() should not result in problems. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013-diff-various.sh')
0 files changed, 0 insertions, 0 deletions