diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2008-03-03 20:09:38 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-03-03 18:26:40 -0800 |
commit | 3291fe4072ee3ac52fb927a0b504d4440d3bbe5a (patch) | |
tree | a893349bf8da38e19df17cfb8b5a4f10480f2dba /contrib/emacs | |
parent | Test for packed tags in git-describe output (diff) | |
download | tgif-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 'contrib/emacs')
0 files changed, 0 insertions, 0 deletions