Re: [PATCH v2] refs: loosen restrictions on wildcard '*' refspecs

2015-07-09 Thread Jacob Keller
On Wed, Jul 8, 2015 at 6:00 AM, Jacob Keller wrote: > This patch updates the check_refname_component logic in order to allow for > a less strict refspec format in regards to REFNAME_REFSPEC_PATTERN. > Previously the '*' could only replace a single full component, and could > not replace arbitrary

[PATCH v2] refs: loosen restrictions on wildcard '*' refspecs

2015-07-08 Thread Jacob Keller
This patch updates the check_refname_component logic in order to allow for a less strict refspec format in regards to REFNAME_REFSPEC_PATTERN. Previously the '*' could only replace a single full component, and could not replace arbitrary text. Now, refs such as `foo/bar*:foo/bar*` will be accepted.