summaryrefslogtreecommitdiff
path: root/src/attrcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/attrcache.c')
-rw-r--r--src/attrcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attrcache.c b/src/attrcache.c
index b4579bfc0..20be9c7a8 100644
--- a/src/attrcache.c
+++ b/src/attrcache.c
@@ -364,7 +364,7 @@ int git_attr_cache__do_init(git_repository *repo)
return -1;
}
- if ((ret = git_repository_config_snapshot(&cfg, repo)) < 0)
+ if ((ret = git_repository_config(&cfg, repo)) < 0)
goto cancel;
/* cache config settings for attributes and ignores */