diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2014-02-24 17:43:10 -0800 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2014-02-24 17:52:38 -0800 |
commit | 83634d38be2d0a1ac006d912216cd6787c2b1542 (patch) | |
tree | 9b13ce789492d17d2030992762959f36b8d89d71 /src/config_file.c | |
parent | 98b9366212ac6670bd5f90e70400e7cf09aea16a (diff) | |
download | libgit2-83634d38be2d0a1ac006d912216cd6787c2b1542.tar.gz |
Move system directory cache out of utils
Diffstat (limited to 'src/config_file.c')
-rw-r--r-- | src/config_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config_file.c b/src/config_file.c index c7727c029..aedf2cb12 100644 --- a/src/config_file.c +++ b/src/config_file.c @@ -7,8 +7,8 @@ #include "common.h" #include "config.h" -#include "fileops.h" #include "filebuf.h" +#include "sysdir.h" #include "buffer.h" #include "buf_text.h" #include "git2/config.h" @@ -1003,7 +1003,7 @@ static int included_path(git_buf *out, const char *dir, const char *path) { /* From the user's home */ if (path[0] == '~' && path[1] == '/') - return git_futils_find_global_file(out, &path[1]); + return git_sysdir_find_global_file(out, &path[1]); return git_path_join_unrooted(out, path, dir, NULL); } |