summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorScott R Parish <srp@srparish.net>2007-10-27 01:36:51 -0700
committerJunio C Hamano <gitster@pobox.com>2007-10-29 20:51:37 -0700
commit384df83312d24ea4d11adcf4e73921fc192595d2 (patch)
tree38167671605fcf2a932ccab53cb775eb43d1c82a /git.c
parentedb6ddc53e71f4f959665cbc3180bb21b7ee7634 (diff)
downloadgit-384df83312d24ea4d11adcf4e73921fc192595d2.tar.gz
"current_exec_path" is a misleading name, use "argv_exec_path"
Signed-off-by: Scott R Parish <srp@srparish.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
-rw-r--r--git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.c b/git.c
index efed91c4f4..c7cabf5f34 100644
--- a/git.c
+++ b/git.c
@@ -51,7 +51,7 @@ static int handle_options(const char*** argv, int* argc, int* envchanged)
if (!prefixcmp(cmd, "--exec-path")) {
cmd += 11;
if (*cmd == '=')
- git_set_exec_path(cmd + 1);
+ git_set_argv_exec_path(cmd + 1);
else {
puts(git_exec_path());
exit(0);