summaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.c b/src/config.c
index a2202d79b..12fa8f278 100644
--- a/src/config.c
+++ b/src/config.c
@@ -333,9 +333,9 @@ int git_config_find_global(char *global_config_path)
if (home == NULL)
return git__throw(GIT_EOSERR, "Failed to open global config file. Cannot locate the user's home directory");
- git__joinpath(global_config_path, home, GIT_CONFIG_FILENAME);
+ git_path_join(global_config_path, home, GIT_CONFIG_FILENAME);
- if (gitfo_exists(global_config_path) < GIT_SUCCESS)
+ if (git_futils_exists(global_config_path) < GIT_SUCCESS)
return git__throw(GIT_EOSERR, "Failed to open global config file. The file does not exist");
return GIT_SUCCESS;