summaryrefslogtreecommitdiff
path: root/file/git-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'file/git-util.c')
-rw-r--r--file/git-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file/git-util.c b/file/git-util.c
index b6de598..3658ed5 100644
--- a/file/git-util.c
+++ b/file/git-util.c
@@ -147,7 +147,7 @@ int git_repository_open_ext_caching(git_repository **out, const char *path,
slash = 0;
else
strcpy(tmp, ".");
- res = do_git_repository_open_ext_caching(out, ".", flags, ceiling_dirs);
+ res = do_git_repository_open_ext_caching(out, tmp, flags, ceiling_dirs);
free(tmp);
return res;
}