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 | |
Scott R Parish | 384df83 | 2007-10-27 01:36:51 -0700 | [diff] [blame] | 4 | extern void git_set_argv_exec_path(const char *exec_path); |
Steve Haslam | 4dd47c3 | 2009-01-18 13:00:10 +0100 | [diff] [blame] | 5 | extern const char *git_extract_argv0_path(const char *path); |
| 6 | extern const char *git_exec_path(void); |
Johannes Sixt | e1464ca | 2008-07-21 21:19:52 +0200 | [diff] [blame] | 7 | extern void setup_path(void); |
Steffen Prohaska | 4933e5e | 2008-07-28 07:50:27 +0200 | [diff] [blame] | 8 | extern const char **prepare_git_cmd(const char **argv); |
Junio C Hamano | 9201c70 | 2006-03-05 02:47:29 -0800 | [diff] [blame] | 9 | extern int execv_git_cmd(const char **argv); /* NULL terminated */ |
| 10 | extern int execl_git_cmd(const char *cmd, ...); |
Steffen Prohaska | 2de9de5 | 2008-07-13 22:31:18 +0200 | [diff] [blame] | 11 | extern const char *system_path(const char *path); |
Michal Ostrowski | 77cb17e | 2006-01-10 21:12:17 -0500 | [diff] [blame] | 12 | |
Junio C Hamano | e0173ad | 2007-04-28 23:38:52 -0700 | [diff] [blame] | 13 | #endif /* GIT_EXEC_CMD_H */ |