From 8852f5d704edc20896a84ca9107978c478a2941b Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Mon, 7 Jul 2008 14:41:34 +0100 Subject: 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 44100a7..7068ec7 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) -- cgit v0.10.2-6-g49f6