Re: [PATCH 01/43] refs.c: create a public version of verify_refname_available

2015-09-04 Thread David Turner
On Thu, 2015-09-03 at 16:08 -0700, Junio C Hamano wrote: > David Turner writes: > > > @@ -2827,7 +2831,7 @@ int pack_refs(unsigned int flags) > > * > > * The refs in 'refnames' needn't be sorted. `err` must not be NULL. > > */ > > -static int repack_without_refs(struct string_list *refnames

Re: [PATCH 01/43] refs.c: create a public version of verify_refname_available

2015-09-03 Thread Junio C Hamano
David Turner writes: > @@ -2827,7 +2831,7 @@ int pack_refs(unsigned int flags) > * > * The refs in 'refnames' needn't be sorted. `err` must not be NULL. > */ > -static int repack_without_refs(struct string_list *refnames, struct strbuf > *err) > +int repack_without_refs(struct string_list

[PATCH 01/43] refs.c: create a public version of verify_refname_available

2015-09-02 Thread David Turner
From: Ronnie Sahlberg Create a public version of verify_refname_available that backends can provide. Signed-off-by: Ronnie Sahlberg Signed-off-by: David Turner --- refs.c | 53 ++--- refs.h | 17 + 2 files changed, 47 insertions(