]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: Fix actionless dispatch for non-existent objects
authorJakub Narebski <redacted>
Sat, 7 Jan 2012 10:47:38 +0000 (11:47 +0100)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:31 +0000 (00:51 -0400)
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>

No differences found
This page took 0.169544 seconds and 4 git commands to generate.