rebase -i: fix numbering in squash message
[gitweb.git] / t / t6120-describe.sh
index 50029ff6a8df6c0e11a3f5dea75905062e088b97..bae78c4e89e2402d5ab37e3b7cd094dde41d69b3 100755 (executable)
@@ -122,7 +122,7 @@ test_expect_success 'describe --contains defaults to HEAD without commit-ish' '
 '
 
 : >err.expect
-check_describe A --all A^0
+check_describe tags/A --all A^0
 test_expect_success 'no warning was displayed for A' '
        test_cmp err.expect err.actual
 '
@@ -374,6 +374,10 @@ test_expect_success ULIMIT_STACK_SIZE 'describe works in a deep repo' '
        test_cmp expect actual
 '
 
+check_describe tags/A --all A
+check_describe tags/c --all c
+check_describe heads/branch_A --all --match='branch_*' branch_A
+
 test_expect_success 'describe complains about tree object' '
        test_must_fail git describe HEAD^{tree}
 '