Merge branch 'jn/gitweb-unspecified-action'
* jn/gitweb-unspecified-action: gitweb: Fix actionless dispatch for non-existent objects
This commit is contained in:
@ -474,6 +474,14 @@ test_expect_success \
|
||||
'path_info: project/branch:dir/' \
|
||||
'gitweb_run "" "/.git/master:foo/"'
|
||||
|
||||
test_expect_success \
|
||||
'path_info: project/branch (non-existent)' \
|
||||
'gitweb_run "" "/.git/non-existent"'
|
||||
|
||||
test_expect_success \
|
||||
'path_info: project/branch:filename (non-existent branch)' \
|
||||
'gitweb_run "" "/.git/non-existent:non-existent"'
|
||||
|
||||
test_expect_success \
|
||||
'path_info: project/branch:file (non-existent)' \
|
||||
'gitweb_run "" "/.git/master:non-existent"'
|
||||
|
Reference in New Issue
Block a user