From 8852f5d704edc20896a84ca9107978c478a2941b Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Mon, 7 Jul 2008 14:41:34 +0100 Subject: [PATCH] run_command(): respect GIT_TRACE When GIT_TRACE is set, the user is most likely wanting to see an external command that is about to be executed. Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- run-command.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run-command.c b/run-command.c index 44100a749..7068ec7e6 100644 --- a/run-command.c +++ b/run-command.c @@ -65,6 +65,8 @@ int start_command(struct child_process *cmd) cmd->err = fderr[0]; } + trace_argv_printf(cmd->argv, "trace: run_command:"); + cmd->pid = fork(); if (cmd->pid < 0) { if (need_in) -- 2.30.2