Re: [PATCH v2 39/43] refs: break out a ref conflict check

2015-10-05 Thread David Turner
On Mon, 2015-10-05 at 11:06 +0200, Michael Haggerty wrote: > > + /* > > +* Check for entries in extras that start with "$refname/". We > > +* do that by looking for the place where "$refname/" would be > > +* inserted in extras. If there is an entry at that position > > +* that st

Re: [PATCH v2 39/43] refs: break out a ref conflict check

2015-10-05 Thread Michael Haggerty
On 09/29/2015 12:02 AM, David Turner wrote: > Create new function verify_no_descendants, to hold one of the ref > conflict checks used in verify_refname_available. Multiple backends > will need this function, so it goes in the common code. > > Signed-off-by: David Turner > --- > refs-be-files.c