X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=exec_cmd.h;h=e2b546b615e2806bf7d733099ca0ac7bcfaef823;hb=f29ac4f1b04c9cf84509e4a80f27f10b4373a446;hp=a892355c8212298130fb3925c6cba352ed6999b6;hpb=d25430c5f88c7e7b4ce24c1b08e409f4345c4eb9;p=git.git diff --git a/exec_cmd.h b/exec_cmd.h index a892355c8..e2b546b61 100644 --- a/exec_cmd.h +++ b/exec_cmd.h @@ -2,10 +2,12 @@ #define GIT_EXEC_CMD_H extern void git_set_argv_exec_path(const char *exec_path); -extern const char* git_exec_path(void); -extern void setup_path(const char *); +extern const char *git_extract_argv0_path(const char *path); +extern const char *git_exec_path(void); +extern void setup_path(void); +extern const char **prepare_git_cmd(const char **argv); extern int execv_git_cmd(const char **argv); /* NULL terminated */ extern int execl_git_cmd(const char *cmd, ...); - +extern const char *system_path(const char *path); #endif /* GIT_EXEC_CMD_H */