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

git describe candidate filtering

From
Eric Blake <ebb9@byu.net>
Date
Dec 13, 2007, 05:25 UTC
Message-ID
<4760C250.5080103@byu.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Would it be possible to add an option to git-describe that limits the candidate tags to those matching a glob pattern or regular expression? I've got a repository imported from CVS which has a number of less interesting tags for events such as branch creation, but I'm only interested in describing the current commit relative to tags matching v[0-9]\.[0-9]*, rather than the closest tag of any spelling.

- --
Don't work too hard, make some time for fun as well!
Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHYMJQ84KuGfSFAYARAsd8AKCwuCZsxZBcV3nd849Saxvch/OZiACfagTe mitsZEVhXy7hyBg0KALQG0o= =Qq8n -----END PGP SIGNATURE-----

Next: Shawn O. Pearce
Message 1 of 3 in “git describe candidate filtering”
  1. Eric BlakeDec 13, 2007
  2. Shawn O. PearceDec 13, 2007
  3. Junio C HamanoDec 13, 2007

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.