Merge branch 'jn/gitweb-unborn-head' into maint
* jn/gitweb-unborn-head: gitweb: Fix "heads" view when there is no current branch
This commit is contained in:
@ -770,4 +770,13 @@ test_expect_success \
|
||||
'echo "\$projects_list_group_categories = 1;" >>gitweb_config.perl &&
|
||||
gitweb_run'
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# unborn branches
|
||||
|
||||
test_expect_success \
|
||||
'unborn HEAD: "summary" page (with "heads" subview)' \
|
||||
'git checkout orphan_branch || git checkout --orphan orphan_branch &&
|
||||
test_when_finished "git checkout master" &&
|
||||
gitweb_run "p=.git;a=summary"'
|
||||
|
||||
test_done
|
||||
|
Reference in New Issue
Block a user