diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-02-03 00:26:12 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-02-03 00:26:12 -0800 |
commit | 1487eb68f7fd145151caa9a11ee00283629b75ef (patch) | |
tree | f745afc9bab5014851864b9d0046f9e3b9774acd /run-command.h | |
parent | 2ea3c17189bf9ca459879129ca190792b5451f05 (diff) | |
parent | d8e96fd86d415554a9c2e09ffb929a9e22fdad25 (diff) | |
download | git-1487eb68f7fd145151caa9a11ee00283629b75ef.tar.gz |
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; |