On Wed, Dec 4, 2013 at 12:44 PM, Michael Haggerty <mhag...@alum.mit.edu> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to