projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3291fe4
)
t6120 (describe): check --long properly
author
Junio C Hamano
<gitster@pobox.com>
Tue, 4 Mar 2008 02:29:51 +0000
(18:29 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 4 Mar 2008 02:29:51 +0000
(18:29 -0800)
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>
t/t6120-describe.sh
patch
|
blob
|
history
diff --git
a/t/t6120-describe.sh
b/t/t6120-describe.sh
index 22425d5263faa366e8314ba959d20dc350fd59ed..56bbd8519d69a1fc31293f30eb3c8a7b20a285cc 100755
(executable)
--- 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