Re: [PATCH v12 18/20] index-helper: optionally automatically run

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 19, 2016 at 11:45 PM, David Turner <dturner@xxxxxxxxxxxxxxxx> wrote:
> +static void autorun_index_helper(void)
> +{
> +       const char *argv[] = {"git-index-helper", "--detach", "--autorun", NULL};
> +       if (want_auto_index_helper() <= 0)
> +               return;
> +
> +       trace_argv_printf(argv, "trace: auto index-helper:");

I'm pretty sure run_command() does call this (with "trace:
run_command:" prefix instead, maybe drop this line?

> +
> +       if (run_command_v_opt(argv,
> +                             RUN_SILENT_EXEC_FAILURE | RUN_CLEAN_ON_EXIT))
> +               warning(_("You specified indexhelper.autorun, but running git-index-helper failed."));
> +}
-- 
Duy
--
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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]