forked from qt-creator/qt-creator
VcsManager: Fix detection of top level
Amends 42377c21e4.
Fixes: QTCREATORBUG-28253
Change-Id: Ia10b88790ad02e9be4ff3c84b67c36239c3adf7d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
42377c21e4
commit
1748c6e80b
@@ -191,7 +191,7 @@ IVersionControl* VcsManager::findVersionControlForDirectory(const FilePath &inpu
|
||||
}
|
||||
|
||||
// Make sure we an absolute path:
|
||||
const FilePath directory = fixedDir(inputDirectory.absolutePath());
|
||||
const FilePath directory = fixedDir(inputDirectory.absoluteFilePath());
|
||||
auto cachedData = d->findInCache(directory);
|
||||
if (cachedData) {
|
||||
if (topLevelDirectory)
|
||||
|
||||
Reference in New Issue
Block a user