summaryrefslogtreecommitdiffstats
path: root/trace.c
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2010-01-10 14:11:22 +0100
committerJunio C Hamano <gitster@pobox.com>2010-01-10 19:15:03 +0100
commit2b541bf8be2bbd6cc8daf8e3d5d4a8ee30b2ce4e (patch)
treea96beedf645609deb877c8b6180bae4df1fa658e /trace.c
parentrun-command: move wait_or_whine earlier (diff)
downloadgit-2b541bf8be2bbd6cc8daf8e3d5d4a8ee30b2ce4e.tar.xz
git-2b541bf8be2bbd6cc8daf8e3d5d4a8ee30b2ce4e.zip
start_command: detect execvp failures early
Previously, failures during execvp could be detected only by finish_command. However, in some situations it is beneficial for the parent process to know earlier that the child process will not run. The idea to use a pipe to signal failures to the parent process and the test case were lifted from patches by Ilari Liusvaara. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace.c')
0 files changed, 0 insertions, 0 deletions