diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2008-03-03 20:09:35 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-03-03 18:26:29 -0800 |
commit | d1b28f512c6d2c7d373c746d8876dbf177ddf114 (patch) | |
tree | 20be612724cf28452e9d225b349f1f20768629a0 /t/t6120-describe.sh | |
parent | be7bae0d4821462c50c5b82633edb372fe971e9e (diff) | |
download | git-d1b28f512c6d2c7d373c746d8876dbf177ddf114.tar.gz |
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>
Diffstat (limited to 't/t6120-describe.sh')
-rwxr-xr-x | t/t6120-describe.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/t6120-describe.sh b/t/t6120-describe.sh index ba9ea60d10..cc24477668 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 |