Merge branch 'ps/reftable-drop-generic'
[git/gitster.git] / exec-cmd.h
blob330b41d54dec525326a0b864887ed089753c81c3
1 #ifndef GIT_EXEC_CMD_H
2 #define GIT_EXEC_CMD_H
4 struct strvec;
6 void git_set_exec_path(const char *exec_path);
7 void git_resolve_executable_dir(const char *path);
8 const char *git_exec_path(void);
9 void setup_path(void);
10 const char **prepare_git_cmd(struct strvec *out, const char **argv);
11 int execv_git_cmd(const char **argv); /* NULL terminated */
12 LAST_ARG_MUST_BE_NULL
13 int execl_git_cmd(const char *cmd, ...);
14 char *system_path(const char *path);
16 #endif /* GIT_EXEC_CMD_H */