diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-02-27 15:33:26 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-02-27 15:33:26 -0800 |
commit | e22c522730b0fc1dd2a1f12b6e508c5fb2e0fe6c (patch) | |
tree | 44d2eb29376487ec18f0c7fde66595a78e76db61 /t | |
parent | Merge branch 'jn/ancient-meld-support' into maint (diff) | |
parent | gitweb: Fix "heads" view when there is no current branch (diff) | |
download | tgif-e22c522730b0fc1dd2a1f12b6e508c5fb2e0fe6c.tar.xz |
Merge branch 'jn/gitweb-unborn-head' into maint
* jn/gitweb-unborn-head:
gitweb: Fix "heads" view when there is no current branch
Diffstat (limited to 't')
-rwxr-xr-x | t/t9500-gitweb-standalone-no-errors.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/t/t9500-gitweb-standalone-no-errors.sh b/t/t9500-gitweb-standalone-no-errors.sh index 3e4fdbe562..858a649cb6 100755 --- a/t/t9500-gitweb-standalone-no-errors.sh +++ b/t/t9500-gitweb-standalone-no-errors.sh @@ -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 |