forked from qt-creator/qt-creator
VC: fix version control for directory caching
Amends 42377c21e4
Change-Id: Ie38e0e823e9654aaebcddd85946cc6f2f6d4e67b
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -223,7 +223,7 @@ IVersionControl* VcsManager::findVersionControlForDirectory(const FilePath &inpu
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Register Vcs(s) with the cache
|
// Register Vcs(s) with the cache
|
||||||
FilePath tmpDir = directory.absolutePath();
|
FilePath tmpDir = directory.absoluteFilePath();
|
||||||
#if defined WITH_TESTS
|
#if defined WITH_TESTS
|
||||||
// Force caching of test directories (even though they do not exist):
|
// Force caching of test directories (even though they do not exist):
|
||||||
if (directory.startsWith(TEST_PREFIX))
|
if (directory.startsWith(TEST_PREFIX))
|
||||||
|
Reference in New Issue
Block a user