From: Johannes Schindelin Date: Tue, 30 Dec 2008 12:20:18 GMT Subject: Re: [PATCH] builtin-shortlog.c: use string_list_append() instead of duplicating its code Message-ID: In-Reply-To: <1230136476-11081-1-git-send-email-dato@net.com.org.es> Hi, On Wed, 24 Dec 2008, Adeodato Simó wrote: > Also, when clearing the "onelines" string lists, do not free the "util" > member: with string_list_append() is not initialized to any value (and > was being initialized to NULL previously anyway). > > NB: The duplicated code in builtin-shortlog.c predated the appearance of > string_list_append(). > > Signed-off-by: Adeodato Simó FWIW I like the patch, but would like it even more if the strdup() removal was squashed in (with an explanation in the commit message). Ciao, Dscho