From: Shawn O. Pearce Date: Tue, 4 Mar 2008 01:09:35 +0000 (-0500) Subject: Test for packed tags in git-describe output X-Git-Tag: v1.5.5-rc0~72 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d1b28f512c6d2c7d373c746d8876dbf177ddf114;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/t/t6120-describe.sh b/t/t6120-describe.sh index ba9ea60d1..cc2447766 100755 --- a/t/t6120-describe.sh +++ b/t/t6120-describe.sh @@ -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