X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=run-command.h;h=44f7d2bd42ddcf2d65722b7e54bea69645d167a2;hb=bda02ebc39fc9e46c979eee8026a66ac1a060dbd;hp=56491b9f2344541c02bd0da2928a535f11193bd8;hpb=47d45a5ebd5bce543a50546d05e8b92c6971acda;p=git.git diff --git a/run-command.h b/run-command.h index 56491b9f2..44f7d2bd4 100644 --- a/run-command.h +++ b/run-command.h @@ -38,6 +38,7 @@ struct child_process { unsigned silent_exec_failure:1; unsigned stdout_to_stderr:1; unsigned use_shell:1; + unsigned clean_on_exit:1; void (*preexec_cb)(void); }; @@ -52,6 +53,7 @@ extern int run_hook(const char *index_file, const char *name, ...); #define RUN_COMMAND_STDOUT_TO_STDERR 4 #define RUN_SILENT_EXEC_FAILURE 8 #define RUN_USING_SHELL 16 +#define RUN_CLEAN_ON_EXIT 32 int run_command_v_opt(const char **argv, int opt); /*