forked from qt-creator/qt-creator
Vcs: Move resetCachedVcsInfo into VcsBaseClientImpl
Change-Id: I544472d2024bd82039908c67ab133556617b4fdb Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -3286,8 +3286,7 @@ bool GitClient::cloneRepository(const QString &directory,const QByteArray &url)
|
||||
workingDirectory.cdUp();
|
||||
const SynchronousProcessResponse resp =
|
||||
synchronousGit(workingDirectory.path(), arguments, flags);
|
||||
// TODO: Turn this into a VcsBaseClient and use resetCachedVcsInfo(...)
|
||||
VcsManager::resetVersionControlForDirectory(workingDirectory.absolutePath());
|
||||
resetCachedVcsInfo(workingDirectory.absolutePath());
|
||||
return (resp.result == SynchronousProcessResponse::Finished);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user