submodule helper list: respect correct path prefix
[git.git] / exec_cmd.h
blob93b0c02529a854af4ccb648ea0d0571c5495b63a
1 #ifndef GIT_EXEC_CMD_H
2 #define GIT_EXEC_CMD_H
4 extern void git_set_argv_exec_path(const char *exec_path);
5 extern const char *git_extract_argv0_path(const char *path);
6 extern const char *git_exec_path(void);
7 extern void setup_path(void);
8 extern const char **prepare_git_cmd(const char **argv);
9 extern int execv_git_cmd(const char **argv); /* NULL terminated */
10 LAST_ARG_MUST_BE_NULL
11 extern int execl_git_cmd(const char *cmd, ...);
12 extern char *system_path(const char *path);
14 #endif /* GIT_EXEC_CMD_H */