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

2015-07-22 Thread Jacob Keller
On Wed, Jul 22, 2015 at 11:21 AM, David Turner wrote: > On Wed, 2015-07-22 at 09:06 -0700, Jacob Keller wrote: >> From: Jacob Keller >> >> Update the check_refname_component logic in order to allow for a less >> strict refspec format in regards to REFNAME_REFSPEC_PATTERN. Previously >> the '*' co

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

2015-07-22 Thread David Turner
On Wed, 2015-07-22 at 09:06 -0700, Jacob Keller wrote: > From: Jacob Keller > > Update 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 > rep

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

2015-07-22 Thread Jacob Keller
From: Jacob Keller Update 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