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 <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Johannes Schindelin committed
Jul 7, 2008 at 14:41 UTC
8852f5d704edc20896a84ca9107978c478a2941b
1 file changed
+2
run-command.c
+2
@@ -65,6 +65,8 @@ int start_command(struct child_process *cmd)
65
cmd->err = fderr[0];
66
}
67
68
+ trace_argv_printf(cmd->argv, "trace: run_command:");
69
+
70
cmd->pid = fork();
71
if (cmd->pid < 0) {
72
if (need_in)