git-tar-tree: no more void pointer arithmetic
[git.git] / run-command.h
index 5ee0972..70b477a 100644 (file)
@@ -11,7 +11,10 @@ enum {
        ERR_RUN_COMMAND_WAITPID_NOEXIT,
 };
 
-int run_command_v(int argc, char **argv);
+#define RUN_COMMAND_NO_STDIO 1
+#define RUN_GIT_CMD         2  /*If this is to be git sub-command */
+int run_command_v_opt(int argc, const char **argv, int opt);
+int run_command_v(int argc, const char **argv);
 int run_command(const char *cmd, ...);
 
 #endif