git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git describe relative to a given tag pattern

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 6, 2012, 22:10 UTC
Message-ID
<7vhaz362b8.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CA+mfgz0VB9qMHHtoT76zCOiUaH=8egdMDrneQVRBug2waQsGAg@mail.gmail.com>
Adam Mercer <ramercer@gmail.com> writes:
> $ git describe --match=lal-v* HEAD
> fatal: No tags can describe 'cee13cbb25d0fa38f6e3bc6622bc751ebf35d2f0'.

Perhaps Git is correct and your HEAD is not a descendant of any tag whose name matches the pattern "lal-v*".

Here is how people can mimic the situation:
	$ git checkout v1.7.6~20
        $ git describe --match='v1.7.*' HEAD
        v1.7.6-rc0-3-g6c92972
        $ git describe --match='v1.7.[7-9]*' HEAD
        fatal: No tags can describe '6c92972d7f5ab247a8cab5e4b88cb281bf201970'.
	Try --always, or create some tags.
Previous: Adam MercerNext: Adam Mercer
Message 2 of 3 in “git describe relative to a given tag pattern”
  1. Adam MercerFeb 6, 2012
  2. Junio C HamanoFeb 6, 2012
  3. Adam MercerFeb 6, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.