Unverified Commit b34b831c by Edward Thomson Committed by GitHub

Merge pull request #6335 from kcsaul/fix/config-find-system-file

Fix internal git_sysdir_find* function usage within public git_config_find* functions
parents c2dc51e8 05b2c89d
......@@ -1137,7 +1137,7 @@ int git_config__find_global(git_str *path)
int git_config_find_xdg(git_buf *path)
{
GIT_BUF_WRAP_PRIVATE(path, git_sysdir_find_global_file, GIT_CONFIG_FILENAME_XDG);
GIT_BUF_WRAP_PRIVATE(path, git_sysdir_find_xdg_file, GIT_CONFIG_FILENAME_XDG);
}
int git_config__find_xdg(git_str *path)
......@@ -1147,7 +1147,7 @@ int git_config__find_xdg(git_str *path)
int git_config_find_system(git_buf *path)
{
GIT_BUF_WRAP_PRIVATE(path, git_sysdir_find_global_file, GIT_CONFIG_FILENAME_SYSTEM);
GIT_BUF_WRAP_PRIVATE(path, git_sysdir_find_system_file, GIT_CONFIG_FILENAME_SYSTEM);
}
int git_config__find_system(git_str *path)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment