Code

Documentation: do not assume that n > 1 in <rev>~$n
[git.git] / t / t9500-gitweb-standalone-no-errors.sh
index 3e4fdbe5624f1d1a197b0a1a450524b6d1095b0b..858a649cb64e40a083a60c16e7ad818fdecb0fa9 100755 (executable)
@@ -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