Revision 18ab83e8568878edc3f6680ebdf439ccaa5bf5db authored by Jakub Narebski on 07 January 2012, 10:47:38 UTC, committed by Junio C Hamano on 09 January 2012, 21:30:59 UTC
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>
1 parent 5f4d133
History
File Mode Size
xdiff.h -rw-r--r-- 3.4 KB
xdiffi.c -rw-r--r-- 14.7 KB
xdiffi.h -rw-r--r-- 1.9 KB
xemit.c -rw-r--r-- 6.0 KB
xemit.h -rw-r--r-- 1.2 KB
xhistogram.c -rw-r--r-- 9.0 KB
xinclude.h -rw-r--r-- 1.2 KB
xmacros.h -rw-r--r-- 1.9 KB
xmerge.c -rw-r--r-- 15.1 KB
xpatience.c -rw-r--r-- 9.9 KB
xprepare.c -rw-r--r-- 11.9 KB
xprepare.h -rw-r--r-- 1.1 KB
xtypes.h -rw-r--r-- 1.6 KB
xutils.c -rw-r--r-- 9.0 KB
xutils.h -rw-r--r-- 1.9 KB

back to top