summaryrefslogtreecommitdiff
path: root/src/config_file.c
diff options
context:
space:
mode:
authorVicent Marti <vicent@github.com>2014-02-25 10:46:41 +0100
committerVicent Marti <vicent@github.com>2014-02-25 10:46:41 +0100
commitcb81c3a764447ceb2cd693935bf970138ea60ccc (patch)
treeaaccb862502fff37d3c5d71a191e20e5a16469b2 /src/config_file.c
parent1c8b339d3483bb5262174908b376dc1152787021 (diff)
parent83634d38be2d0a1ac006d912216cd6787c2b1542 (diff)
downloadlibgit2-cb81c3a764447ceb2cd693935bf970138ea60ccc.tar.gz
Merge pull request #2138 from ethomson/sysdir
Move system directory cache out of utils
Diffstat (limited to 'src/config_file.c')
-rw-r--r--src/config_file.c4
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);
}