diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-02-03 09:26:12 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-02-03 09:26:12 +0100 |
commit | 1487eb68f7fd145151caa9a11ee00283629b75ef (patch) | |
tree | f745afc9bab5014851864b9d0046f9e3b9774acd /run-command.h | |
parent | t3412: use log|name-rev instead of log --graph (diff) | |
parent | git: use run_command() to execute dashed externals (diff) | |
download | git-1487eb68f7fd145151caa9a11ee00283629b75ef.tar.xz git-1487eb68f7fd145151caa9a11ee00283629b75ef.zip |
Merge branch 'jk/maint-cleanup-after-exec-failure'
* jk/maint-cleanup-after-exec-failure:
git: use run_command() to execute dashed externals
run_command(): help callers distinguish errors
run_command(): handle missing command errors more gracefully
git: s/run_command/run_builtin/
Diffstat (limited to 'run-command.h')
-rw-r--r-- | run-command.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/run-command.h b/run-command.h index 0211e1d471..15e870a65e 100644 --- a/run-command.h +++ b/run-command.h @@ -10,6 +10,7 @@ enum { ERR_RUN_COMMAND_WAITPID_SIGNAL, ERR_RUN_COMMAND_WAITPID_NOEXIT, }; +#define IS_RUN_COMMAND_ERR(x) ((x) <= -ERR_RUN_COMMAND_FORK) struct child_process { const char **argv; |