mirror of
https://github.com/git/git.git
synced 2025-04-21 17:57:25 +00:00
Test for packed tags in git-describe output
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>
This commit is contained in:
parent
be7bae0d48
commit
d1b28f512c
@ -98,4 +98,7 @@ check_describe B --tags HEAD^^2^
|
||||
|
||||
check_describe B-0-* --long HEAD^^2^
|
||||
|
||||
test_expect_success 'pack tag refs' 'git pack-refs'
|
||||
check_describe A-* HEAD
|
||||
|
||||
test_done
|
||||
|
Loading…
x
Reference in New Issue
Block a user