]> git.ipfire.org Git - thirdparty/git.git/commit - t/t6120-describe.sh
git-describe: --long shows the object name even for a tagged commit
authorSanti Béjar <sbejar@gmail.com>
Mon, 25 Feb 2008 09:43:33 +0000 (10:43 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Feb 2008 02:59:20 +0000 (18:59 -0800)
commit518120e3487a00148f8001454f1e76e484442a22
tree1af7db66d8c13f49b46a87cb4205a8777729c166
parent99d8ea2c5ce6fc0b06fe8a43e7c0c108ddad853b
git-describe: --long shows the object name even for a tagged commit

This is useful when you want to see parts of the commit object name
in "describe" output, even when the commit in question happens to be
a tagged version.  Instead of just emitting the tag name, it will
describe such a commit as v1.2-0-deadbeef (0th commit since tag v1.2
that points at object deadbeef....).

Signed-off-by: Santi Béjar <sbejar@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-describe.txt
builtin-describe.c
t/t6120-describe.sh