diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2022-07-06 23:21:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-06 23:21:30 -0400 |
commit | b34b831c97ccc99643752becf761378728e38ea0 (patch) | |
tree | d9fda038597380e7fb6ecdb577f68595e42ef6ed | |
parent | c2dc51e81215b51269c93093e62de7e75082cb13 (diff) | |
parent | 05b2c89d09dbfa18eac9fdf4280389a238cd6cb1 (diff) | |
download | libgit2-b34b831c97ccc99643752becf761378728e38ea0.tar.gz |
Merge pull request #6335 from kcsaul/fix/config-find-system-file
Fix internal git_sysdir_find* function usage within public git_config_find* functions
-rw-r--r-- | src/libgit2/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libgit2/config.c b/src/libgit2/config.c index 6bd59f2a5..bce21d712 100644 --- a/src/libgit2/config.c +++ b/src/libgit2/config.c @@ -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) |