The fifth batch
[git/git.git] / exec-cmd.h
CommitLineData
e0173ad9
JH
1#ifndef GIT_EXEC_CMD_H
2#define GIT_EXEC_CMD_H
77cb17e9 3
20574f55
JK
4struct argv_array;
5
226c0ddd
DJ
6extern void git_set_exec_path(const char *exec_path);
7extern void git_resolve_executable_dir(const char *path);
4dd47c3b 8extern const char *git_exec_path(void);
e1464ca7 9extern void setup_path(void);
20574f55 10extern const char **prepare_git_cmd(struct argv_array *out, const char **argv);
9201c707 11extern int execv_git_cmd(const char **argv); /* NULL terminated */
9fe3edc4 12LAST_ARG_MUST_BE_NULL
9201c707 13extern int execl_git_cmd(const char *cmd, ...);
59362e56 14extern char *system_path(const char *path);
77cb17e9 15
e0173ad9 16#endif /* GIT_EXEC_CMD_H */