Jacob Keller
77d21f29ea
describe: teach describe negative pattern matches
...
Teach git-describe the `--exclude` option which will allow specifying
a glob pattern of tags to ignore. This can be combined with the
`--match` patterns to enable more flexibility in determining which tags
to consider.
For example, suppose you wish to find the first official release tag
that contains a certain commit. If we assume that official release tags
are of the form "v*" and pre-release candidates include "*rc*" in their
name, we can now find the first release tag that introduces the commit
abcdef:
git describe --contains --match="v*" --exclude="*rc*" abcdef
Add documentation, tests, and completion for this change.
Signed-off-by: Jacob Keller <jacob.keller@gmail.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2017-01-23 18:33:17 -08:00
..
2016-09-15 12:13:54 -07:00
2016-09-19 13:47:19 -07:00
2016-09-07 12:59:42 -07:00
2016-11-22 13:55:20 -08:00
2016-10-10 14:03:51 -07:00
2016-11-17 13:45:21 -08:00
2016-10-10 14:03:47 -07:00
2016-02-01 13:43:02 -08:00
2016-02-01 13:43:02 -08:00
2016-01-15 10:12:51 -08:00
2016-02-22 14:51:09 -08:00
2016-09-22 13:42:18 -07:00
2016-11-17 13:45:21 -08:00
2016-02-26 13:37:16 -08:00
2016-10-17 13:25:18 -07:00
2016-01-15 10:35:07 -08:00
2016-09-07 12:59:43 -07:00
2016-10-31 13:15:25 -07:00
2016-09-15 13:17:32 -07:00
2016-10-10 13:52:37 -07:00
2017-01-23 18:33:17 -08:00
2016-05-13 14:35:49 -07:00
2016-05-13 14:35:49 -07:00
2016-06-06 14:27:35 -07:00
2016-09-21 15:15:24 -07:00
2016-09-29 15:42:18 -07:00
2016-10-10 14:03:50 -07:00
2016-10-27 14:58:48 -07:00
2016-09-29 15:42:18 -07:00
2015-09-17 10:02:49 -07:00
2016-10-10 13:52:36 -07:00
2016-09-21 15:15:30 -07:00
2015-10-16 15:27:52 -07:00
2016-09-07 12:59:42 -07:00
2016-09-13 15:45:45 -07:00
2016-09-08 21:35:55 -07:00
2016-09-29 20:40:23 -07:00
2016-10-03 13:30:35 -07:00
2016-06-13 10:37:48 -07:00
2016-09-26 16:09:17 -07:00
2016-10-26 13:14:44 -07:00
2016-01-19 10:07:56 -08:00
2015-09-25 10:18:18 -07:00
2016-11-22 13:13:16 -08:00
2016-06-06 11:14:43 -07:00
2016-10-12 14:30:16 -07:00
2016-05-09 12:29:08 -07:00
2016-09-07 12:59:42 -07:00
2016-09-15 13:17:32 -07:00
2016-04-25 14:23:42 -07:00
2016-10-26 13:30:51 -07:00
2015-10-16 15:27:52 -07:00
2016-09-29 15:42:18 -07:00
2016-10-03 13:30:33 -07:00
2017-01-23 18:33:17 -08:00
2016-09-15 13:17:32 -07:00
2016-10-25 10:59:13 -07:00
2016-02-22 14:51:09 -08:00
2016-06-03 14:38:03 -07:00
2015-11-03 15:32:25 -08:00
2016-10-07 09:29:31 -07:00
2016-07-14 15:50:41 -07:00
2016-09-07 12:59:42 -07:00
2016-10-31 13:15:21 -07:00
2016-04-25 14:23:42 -07:00
2016-10-17 11:36:50 -07:00
2016-09-29 15:42:18 -07:00
2016-07-13 11:24:10 -07:00
2016-05-06 14:53:24 -07:00
2015-10-05 13:20:08 -07:00
2016-10-17 13:25:22 -07:00
2016-10-20 14:44:37 -07:00
2016-10-27 14:58:47 -07:00
2016-10-21 09:32:34 -07:00
2016-09-07 12:59:42 -07:00
2016-04-29 14:15:57 -07:00
2016-09-29 20:40:23 -07:00
2016-10-03 12:46:47 -07:00
2015-11-20 08:02:07 -05:00
2016-11-21 11:00:38 -08:00
2016-10-27 14:58:49 -07:00
2016-09-02 09:01:38 -07:00
2016-04-29 12:59:09 -07:00
2015-09-25 10:18:18 -07:00
2016-08-24 12:31:05 -07:00
2016-09-26 16:09:20 -07:00
2016-11-22 13:55:20 -08:00
2016-04-22 14:06:46 -07:00
2016-09-27 10:51:33 -07:00