summaryrefslogtreecommitdiff
path: root/file/git-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file/git-file.c')
-rw-r--r--file/git-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file/git-file.c b/file/git-file.c
index 24c90fb..10e70a4 100644
--- a/file/git-file.c
+++ b/file/git-file.c
@@ -79,7 +79,7 @@ static git_repository *select_repo(const char *path)
*/
while (1) {
progress(3, "trying \"%s\"", tmp);
- if (!git_repository_open_ext(&repo, *tmp ? tmp : "/",
+ if (!git_repository_open_ext_caching(&repo, *tmp ? tmp : "/",
GIT_REPOSITORY_OPEN_CROSS_FS, NULL))
break;
slash = strrchr(tmp, '/');