Files
git/Documentation
Jacob Keller 96415b49dc name-rev: add support to exclude refs by pattern match
Extend git-name-rev to support excluding refs which match shell patterns
using --exclude. These patterns can be used to limit the scope of refs
by excluding any ref that matches one of the --exclude patterns. A ref
will only be used for naming when it matches at least one --refs pattern
but does not match any of the --exclude patterns. Thus, --exclude
patterns are given precedence over --refs patterns.

For example, suppose you wish to name a series of commits based on an
official release tag of the form "v*" but excluding any pre-release tags
which match "*rc*". You can use the following to do so:

  git name-rev --refs="v*" --exclude="*rc*" --all

Add tests and update Documentation 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-12 15:03:32 -07:00
2016-07-13 11:24:14 -07:00
2016-10-10 14:03:51 -07:00
2016-10-10 14:03:50 -07:00
2016-07-13 11:24:14 -07:00
2016-07-28 11:25:54 -07:00
2015-07-21 14:08:14 -07:00
2016-08-11 14:35:42 -07:00
2015-10-05 12:30:13 -07:00
2016-11-29 12:23:07 -08:00
2016-03-03 13:43:36 -08:00