diff options
Diffstat (limited to 'src/dir.cpp')
-rw-r--r-- | src/dir.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dir.cpp b/src/dir.cpp index 012baa5..f59dd92 100644 --- a/src/dir.cpp +++ b/src/dir.cpp @@ -14,6 +14,7 @@ GitFS::Directory::Directory(Repo * const r, const std::string & p) : GitFS::Git::TreePtr GitFS::Directory::getSubtree() const { + repo->update(); if (!git_oid_equal(&subTreeCacheRootId, git_tree_id(repo->tree.get()))) { if (path == "/") { subTreeCache = repo->tree; |