]> git.ipfire.org Git - thirdparty/git.git/blobdiff - run-command.h
Documentation/githooks: post-rewrite-copy-notes never existed
[thirdparty/git.git] / run-command.h
index 65ccb1c60f425d3fb612592178ac8cfd12a8c027..94619f52d95888b320664b7f19db3eeb7d6d8cca 100644 (file)
@@ -33,6 +33,7 @@ struct child_process {
        unsigned git_cmd:1; /* if this is to be git sub-command */
        unsigned silent_exec_failure:1;
        unsigned stdout_to_stderr:1;
+       unsigned use_shell:1;
        void (*preexec_cb)(void);
 };
 
@@ -46,6 +47,7 @@ extern int run_hook(const char *index_file, const char *name, ...);
 #define RUN_GIT_CMD         2  /*If this is to be git sub-command */
 #define RUN_COMMAND_STDOUT_TO_STDERR 4
 #define RUN_SILENT_EXEC_FAILURE 8
+#define RUN_USING_SHELL 16
 int run_command_v_opt(const char **argv, int opt);
 
 /*