Thread (49 messages) flat view 49 messages, 5 authors, 2016-06-27

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

From: Duy Nguyen <hidden>
Date: 2016-06-25 16:39:12

On Thu, May 19, 2016 at 11:45 PM, David Turner [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help