aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-03-03 18:29:51 -0800
committerJunio C Hamano <gitster@pobox.com>2008-03-03 18:29:51 -0800
commit4d4c3e1c12df7a76810f72a9012e591516cef03d (patch)
tree88800e531712823410b7423069cd53a804a70d44
parent3291fe4072ee3ac52fb927a0b504d4440d3bbe5a (diff)
downloadgit-4d4c3e1c12df7a76810f72a9012e591516cef03d.tar.gz
git-4d4c3e1c12df7a76810f72a9012e591516cef03d.tar.xz
t6120 (describe): check --long properly
Existing test checked --long only for exactly tagged commit. We should make sure it works sensibly for commits that are not tagged. Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t6120-describe.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t6120-describe.sh b/t/t6120-describe.sh
index 22425d526..56bbd8519 100755
--- a/t/t6120-describe.sh
+++ b/t/t6120-describe.sh
@@ -98,6 +98,7 @@ check_describe A-* --tags HEAD^^2
check_describe B --tags HEAD^^2^
check_describe B-0-* --long HEAD^^2^
+check_describe A-3-* --long HEAD^^2
test_expect_success 'rename tag A to Q locally' '
mv .git/refs/tags/A .git/refs/tags/Q