summaryrefslogtreecommitdiff
path: root/builtin-rev-list.c
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2008-03-03 20:09:38 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-03-03 18:26:40 -0800
commit3291fe4072ee3ac52fb927a0b504d4440d3bbe5a (patch)
treea893349bf8da38e19df17cfb8b5a4f10480f2dba /builtin-rev-list.c
parentTest for packed tags in git-describe output (diff)
downloadtgif-3291fe4072ee3ac52fb927a0b504d4440d3bbe5a.tar.xz
Add git-describe test for "verify annotated tag names on output"
Back in 212945d4 ("Teach git-describe to verify annotated tag names before output") I taught git-describe to output the name shown in the "tag" header of an annotated tag, rather than the name it is actually stored under in this repository's ref namespace. This test case verifies this is working correctly by renaming the ref for an annotated tag to a different name that what is recorded in the tag body, and verifying that tag is returned. We also verify there is a message shown on stderr to inform the user that the tag is possibly stored under the wrong name locally. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-rev-list.c')
0 files changed, 0 insertions, 0 deletions