From 6f08086693e8fc4a05817df1fbfe4c7e622368f2 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Fri, 10 Aug 2012 10:34:08 +0200 Subject: [PATCH] TGitCache: Project root folder might not get crawled correctly Signed-off-by: Sven Strickroth --- src/TGitCache/CachedDirectory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TGitCache/CachedDirectory.cpp b/src/TGitCache/CachedDirectory.cpp index db8a2908b..7998ad3ec 100644 --- a/src/TGitCache/CachedDirectory.cpp +++ b/src/TGitCache/CachedDirectory.cpp @@ -242,7 +242,7 @@ CStatusCacheEntry CCachedDirectory::GetStatusFromCache(const CTGitPath& path, bo } } - CGitStatusCache::Instance().AddFolderForCrawling(path); + CGitStatusCache::Instance().AddFolderForCrawling(path.GetContainingDirectory()); return CStatusCacheEntry(); } -- 2.11.4.GIT