Re: [PATCH v4 06/26] refs.c: move delete_pseudoref and delete_ref to the common code

2015-10-21 Thread David Turner
On Thu, 2015-10-15 at 15:46 -0400, David Turner wrote: > --- a/refs.c > +++ b/refs.c > @@ -117,3 +117,60 @@ int update_ref(const char *msg, const char *refname, > ref_transaction_free(t); > return 0; > } > + > + > +static int delete_pseudoref(const char *pseudoref, const unsign

[PATCH v4 06/26] refs.c: move delete_pseudoref and delete_ref to the common code

2015-10-15 Thread David Turner
From: Ronnie Sahlberg Move delete_pseudoref() and delete_ref() to the refs.c file since these functions do not contain any backend specific code. We can't move delete_refs yet because it depends on the files-backend-specific repack_without_refs. Based on a patch by Ronnie Sahlberg. Signed-off-