git-prompt: add a describe style for any tags
commit9f0b4dd0b82b764e7873ce6779766415ebc7f1ea
authorMichael J Gruber <git@drmicha.warpmail.net>
Wed, 15 Mar 2017 13:15:09 +0000 (15 14:15 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Mar 2017 20:19:41 +0000 (15 13:19 -0700)
treebf38bab6f1e70bde7590851990aafe61b2fcc246
parente7e07d5a4fcc2a203d9873968ad3e6bd4d7419d7
git-prompt: add a describe style for any tags

git-prompt has various describe styles, among them "describe" (by
annotated tags) and "default" (by exact match with any tag).

Add a mode "tag" that describes by any tag, annotated or not.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-prompt.sh