Jacob Keller [off-list ref] writes:
From: Jacob Keller <redacted>
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 --ref pattern
s/--ref pattern/--refs pattern/
but does not match any of the --exclude patterns. Thus, --exlude
s/--exlude/--exclude/
patterns are given precedence over --ref patterns.
s/--ref pattern/--refs pattern/
No need to resend. Thanks.