stash: teach 'push' (and 'create_stash') to honor pathspec
[git.git] / exec_cmd.h
blobff0b48048a6ba82827b4d441654c34c21cfb7b9a
1 #ifndef GIT_EXEC_CMD_H
2 #define GIT_EXEC_CMD_H
4 struct argv_array;
6 extern void git_set_argv_exec_path(const char *exec_path);
7 extern void git_extract_argv0_path(const char *path);
8 extern const char *git_exec_path(void);
9 extern void setup_path(void);
10 extern const char **prepare_git_cmd(struct argv_array *out, const char **argv);
11 extern int execv_git_cmd(const char **argv); /* NULL terminated */
12 LAST_ARG_MUST_BE_NULL
13 extern int execl_git_cmd(const char *cmd, ...);
14 extern char *system_path(const char *path);
16 #endif /* GIT_EXEC_CMD_H */