Re: [PATCH v6] refs.c: use a string_list for repack_without_refs

2014-11-20 Thread Jonathan Nieder
Stefan Beller wrote: > Signed-off-by: Ronnie Sahlberg > Signed-off-by: Stefan Beller > Reviewed-by: Jonathan Nieder > --- Yep, looks good now. Thanks for bearing with me. [...] > +++ b/refs.h > @@ -163,8 +163,16 @@ extern void rollback_packed_refs(void); [...] > +/* > + * Remove the refs lis

[PATCH v6] refs.c: use a string_list for repack_without_refs

2014-11-20 Thread Stefan Beller
From: Ronnie Sahlberg This patch doesn't intend any functional changes. It is just a refactoring, which replaces a char** array by a stringlist in the function repack_without_refs. This is easier to read and maintain as it delivers the same functionality with less lines of code and more lines of