From: Johannes Schindelin Date: Mon, 7 Jul 2008 13:41:34 +0000 (+0100) Subject: run_command(): respect GIT_TRACE X-Git-Tag: v1.5.6.3~10^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8852f5d704edc20896a84ca9107978c478a2941b;p=git.git 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 --- 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)