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

2015-07-22 Thread Jacob Keller
From: Jacob Keller jacob.kel...@gmail.com 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

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

2015-07-22 Thread Junio C Hamano
Jacob Keller jacob.e.kel...@intel.com writes: diff --git a/refs.c b/refs.c index ce8cd8d45001..a65f16fedaa0 100644 --- a/refs.c +++ b/refs.c @@ -20,11 +20,12 @@ struct ref_lock { * 2: ., look for a preceding . to reject .. in refs * 3: {, look for a preceding @ to reject @{ in refs