summaryrefslogtreecommitdiff
path: root/exec-cmd.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-05-08 06:59:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-08 06:59:17 (GMT)
commit92034a9cd5e71cf686ef66029433bdaba75027b0 (patch)
tree48a2d6429c993e75dc0f4ab76268509dcc82de5f /exec-cmd.h
parentc988f6425acbd9765c55490c45d61f7531d5d83b (diff)
parent64f982b8a791a8e9e612a103d05e5f01a08fce0f (diff)
downloadgit-92034a9cd5e71cf686ef66029433bdaba75027b0.zip
git-92034a9cd5e71cf686ef66029433bdaba75027b0.tar.gz
git-92034a9cd5e71cf686ef66029433bdaba75027b0.tar.bz2
Merge branch 'dj/runtime-prefix'
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
Diffstat (limited to 'exec-cmd.h')
-rw-r--r--exec-cmd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/exec-cmd.h b/exec-cmd.h
index ff0b480..2522453 100644
--- a/exec-cmd.h
+++ b/exec-cmd.h
@@ -3,8 +3,8 @@
struct argv_array;
-extern void git_set_argv_exec_path(const char *exec_path);
-extern void git_extract_argv0_path(const char *path);
+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);