]> git.ipfire.org Git - thirdparty/git.git/blobdiff - run-command.h
Use symbolic name SHORT_NAME_AMBIGUOUS as error return value
[thirdparty/git.git] / run-command.h
index 5ee0972241030d2f6d87a465c4726e6cc3ab803a..ef3ee053dee4e60db1887020c8ab8840027ff649 100644 (file)
@@ -11,6 +11,9 @@ enum {
        ERR_RUN_COMMAND_WAITPID_NOEXIT,
 };
 
+#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, char **argv, int opt);
 int run_command_v(int argc, char **argv);
 int run_command(const char *cmd, ...);