git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH/RFC v2 0/2] add regex match flags to git describe
@ 2015-12-28 10:30 Mostyn Bramley-Moore
  2015-12-28 10:30 ` [PATCH/RFC v2 1/2] describe: add option to use perl-compatible regexes with --match Mostyn Bramley-Moore
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Mostyn Bramley-Moore @ 2015-12-28 10:30 UTC (permalink / raw)
  To: git; +Cc: Mostyn Bramley-Moore, brian m . carlson

git describe currently only supports glob matching with the --matches flag.
It would be useful to support regular expressions.

For consistency, this uses the same regex flags as those used by git-grep.

Some old discussion of this as a candidate feature is here, though nobody put
together a patch as far as I can see:
http://comments.gmane.org/gmane.comp.version-control.git/173873


-Mostyn.

Mostyn Bramley-Moore (2):
  describe: add option to use perl-compatible regexes with --match
  describe: add basic and extended posix regex matching for completeness

 Documentation/git-describe.txt |  21 ++++++-
 builtin/describe.c             | 131 ++++++++++++++++++++++++++++++++++++++++-
 t/README                       |   3 +-
 t/t6120-describe.sh            |  38 ++++++++++--
 4 files changed, 184 insertions(+), 9 deletions(-)

-- 
2.5.0

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-01-06 12:23 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-28 10:30 [PATCH/RFC v2 0/2] add regex match flags to git describe Mostyn Bramley-Moore
2015-12-28 10:30 ` [PATCH/RFC v2 1/2] describe: add option to use perl-compatible regexes with --match Mostyn Bramley-Moore
2015-12-28 10:30 ` [PATCH/RFC v2 2/2] describe: add basic and extended posix regex matching for completeness Mostyn Bramley-Moore
2015-12-28 20:30 ` [PATCH/RFC v2 0/2] add regex match flags to git describe Junio C Hamano
2015-12-29  0:13   ` Mostyn Bramley-Moore
2015-12-29 18:27     ` Junio C Hamano
2015-12-30  9:52       ` Duy Nguyen
2015-12-31  0:08         ` Mostyn Bramley-Moore
2015-12-31  0:00       ` Mostyn Bramley-Moore
2015-12-31  0:23         ` Junio C Hamano
2015-12-31 10:07           ` Mostyn Bramley-Moore
2016-01-04 17:46             ` Junio C Hamano
2016-01-06  1:08               ` Mostyn Bramley-Moore
2016-01-06 12:23                 ` Duy Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).