diff options
author | Junio C Hamano <junkio@cox.net> | 2007-03-18 22:21:06 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-18 22:21:06 -0700 |
commit | 3635a187704ed30b32eb11f5098496e5e435a19d (patch) | |
tree | 90fbf761702cc522b5efd2fe69d02b4c797783e9 /run-command.h | |
parent | abec100c3382f7d7b759f915a86e9773277263b6 (diff) | |
parent | 38b1c6626b4690a745e23be9aa9ada98c1a55f41 (diff) | |
download | git-3635a187704ed30b32eb11f5098496e5e435a19d.tar.gz |
Merge branch 'sp/run-command'
* sp/run-command:
Use run_command within send-pack
Use run_command within receive-pack to invoke index-pack
Use run_command within merge-index
Use run_command for proxy connections
Use RUN_GIT_CMD to run push backends
Correct new compiler warnings in builtin-revert
Replace fork_with_pipe in bundle with run_command
Teach run-command to redirect stdout to /dev/null
Teach run-command about stdout redirection
Diffstat (limited to 'run-command.h')
-rw-r--r-- | run-command.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/run-command.h b/run-command.h index ff090679a6..3680ef9d45 100644 --- a/run-command.h +++ b/run-command.h @@ -15,8 +15,11 @@ struct child_process { const char **argv; pid_t pid; int in; + int out; unsigned close_in:1; + unsigned close_out:1; unsigned no_stdin:1; + unsigned no_stdout:1; unsigned git_cmd:1; /* if this is to be git sub-command */ unsigned stdout_to_stderr:1; }; |