mirror of
https://github.com/git/git.git
synced 2024-10-31 22:37:54 +01:00
92034a9cd5
A build-time option has been added to allow Git to be told to refer to its associated files relative to the main binary, in the same way that has been possible on Windows for quite some time, for Linux, BSDs and Darwin. * dj/runtime-prefix: Makefile: quote $INSTLIBDIR when passing it to sed Makefile: remove unused @@PERLLIBDIR@@ substitution variable mingw/msvc: use the new-style RUNTIME_PREFIX helper exec_cmd: provide a new-style RUNTIME_PREFIX helper for Windows exec_cmd: RUNTIME_PREFIX on some POSIX systems Makefile: add Perl runtime prefix support Makefile: generate Perl header from template file
16 lines
539 B
C
16 lines
539 B
C
#ifndef GIT_EXEC_CMD_H
|
|
#define GIT_EXEC_CMD_H
|
|
|
|
struct argv_array;
|
|
|
|
extern void git_set_exec_path(const char *exec_path);
|
|
extern void git_resolve_executable_dir(const char *path);
|
|
extern const char *git_exec_path(void);
|
|
extern void setup_path(void);
|
|
extern const char **prepare_git_cmd(struct argv_array *out, const char **argv);
|
|
extern int execv_git_cmd(const char **argv); /* NULL terminated */
|
|
LAST_ARG_MUST_BE_NULL
|
|
extern int execl_git_cmd(const char *cmd, ...);
|
|
extern char *system_path(const char *path);
|
|
|
|
#endif /* GIT_EXEC_CMD_H */
|