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-----