summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: be7bae0)
raw | patch | inline | side by side (parent: be7bae0)
author | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 4 Mar 2008 01:09:35 +0000 (20:09 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 4 Mar 2008 02:26:29 +0000 (18:26 -0800) |
In c374b91c ("git-describe: use tags found in packed-refs correctly")
Junio fixed an issue where git-describe did not parse a tag object it
obtained from a packed-refs file, as the peel information was read in
from packed-refs and not the tag object itself.
This new test case verifies the fix listed above is functioning, and
does not have a regression in the future.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio fixed an issue where git-describe did not parse a tag object it
obtained from a packed-refs file, as the peel information was read in
from packed-refs and not the tag object itself.
This new test case verifies the fix listed above is functioning, and
does not have a regression in the future.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
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 ba9ea60d10032df507d84bb8e7faa9acbbd1ef30..cc24477668b807bc38ace346094d788ac1080bbc 100755 (executable)
--- a/t/t6120-describe.sh
+++ b/t/t6120-describe.sh
check_describe B-0-* --long HEAD^^2^
+test_expect_success 'pack tag refs' 'git pack-refs'
+check_describe A-* HEAD
+
test_done