Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
run_command(): respect GIT_TRACE
author
Johannes Schindelin
<Johannes.Schindelin@gmx.de>
Mon, 7 Jul 2008 13:41:34 +0000
(14:41 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 7 Jul 2008 20:16:33 +0000
(13:16 -0700)
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>
run-command.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
2fe403e
)
diff --git
a/run-command.c
b/run-command.c
index 44100a749b09439121073e32e7a3143b54185d31..7068ec7e6d74af0cec233259b4b6e41a61ed5123 100644
(file)
--- 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)