Junio C Hamano | e0173ad | 2007-04-28 23:38:52 -0700 | [diff] [blame] | 1 | #ifndef GIT_EXEC_CMD_H |
| 2 | #define GIT_EXEC_CMD_H |
Michal Ostrowski | 77cb17e | 2006-01-10 21:12:17 -0500 | [diff] [blame] | 3 | |
Jeff King | 20574f5 | 2016-02-22 17:44:39 -0500 | [diff] [blame] | 4 | struct argv_array; |
| 5 | |
Dan Jacques | 226c0dd | 2018-04-10 11:05:44 -0400 | [diff] [blame] | 6 | extern void git_set_exec_path(const char *exec_path); |
| 7 | extern void git_resolve_executable_dir(const char *path); |
Steve Haslam | 4dd47c3 | 2009-01-18 13:00:10 +0100 | [diff] [blame] | 8 | extern const char *git_exec_path(void); |
Johannes Sixt | e1464ca | 2008-07-21 21:19:52 +0200 | [diff] [blame] | 9 | extern void setup_path(void); |
Jeff King | 20574f5 | 2016-02-22 17:44:39 -0500 | [diff] [blame] | 10 | extern const char **prepare_git_cmd(struct argv_array *out, const char **argv); |
Junio C Hamano | 9201c70 | 2006-03-05 02:47:29 -0800 | [diff] [blame] | 11 | extern int execv_git_cmd(const char **argv); /* NULL terminated */ |
Ramsay Jones | 9fe3edc | 2013-07-18 21:02:12 +0100 | [diff] [blame] | 12 | LAST_ARG_MUST_BE_NULL |
Junio C Hamano | 9201c70 | 2006-03-05 02:47:29 -0800 | [diff] [blame] | 13 | extern int execl_git_cmd(const char *cmd, ...); |
Junio C Hamano | 59362e5 | 2014-11-24 11:33:54 -0800 | [diff] [blame] | 14 | extern char *system_path(const char *path); |
Michal Ostrowski | 77cb17e | 2006-01-10 21:12:17 -0500 | [diff] [blame] | 15 | |
Junio C Hamano | e0173ad | 2007-04-28 23:38:52 -0700 | [diff] [blame] | 16 | #endif /* GIT_EXEC_CMD_H */ |