From: Duy Nguyen Date: Wed, 04 Dec 2013 12:57:22 GMT Subject: Re: [RFC 02/11] remote.c: add infrastructure for parsing --prune options Message-ID: In-Reply-To: <1386135890-13954-3-git-send-email-mhagger@alum.mit.edu> On Wed, Dec 4, 2013 at 12:44 PM, Michael Haggerty wrote: > +void argv_push_prune_option(struct argv_array *argv, > + struct prune_option *prune_option) > +{ > + if (prune_option->prune != -1) > + argv_array_pushf(argv, > + prune_option->prune > + ? "--prune" > + : "--no-prune"); > +} Nit. I think argv_array_push() is enough for this case? -- Duy