On Wed, Dec 23, 2015 at 8:51 AM, Michael Haggerty <mhagger@xxxxxxxxxxxx> wrote: > On 12/03/2015 01:35 AM, David Turner wrote: >> + if (refs_backend_type && *refs_backend_type) { >> + argv_array_push(&cp.args, "--refs-backend-type"); >> + argv_array_push(&cp.args, refs_backend_type); >> + } > > This could be shortened to > > argv_array_pushf(&cp.args, "--refs-backend-type=%s", refs_backend_type); Or, without interpolation: argv_array_pushl(&cp.args, "--refs-backend-type", refs_backend_type, NULL); -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html