forked from qt-creator/qt-creator
Git: Find correct topLevel
Task-number: QTCREATORBUG-6756 Change-Id: Iefaa8cb112f7da6e6eb76ec852f8f61abcd626ef Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
553249261d
commit
6a17d889d4
@@ -230,7 +230,7 @@ bool GitVersionControl::vcsRemoveSnapshot(const QString &topLevel, const QString
|
||||
|
||||
bool GitVersionControl::managesDirectory(const QString &directory, QString *topLevel) const
|
||||
{
|
||||
const QString topLevelFound = GitClient::findRepositoryForDirectory(directory);
|
||||
const QString topLevelFound = m_client->findRepositoryForDirectory(directory);
|
||||
if (topLevel)
|
||||
*topLevel = topLevelFound;
|
||||
return !topLevelFound.isEmpty();
|
||||
|
||||
Reference in New Issue
Block a user