Vcs: Move resetCachedVcsInfo into VcsBaseClientImpl

Change-Id: I544472d2024bd82039908c67ab133556617b4fdb
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2015-03-27 15:33:38 +01:00
parent 07d6757ca8
commit 68045c1d0d
3 changed files with 9 additions and 9 deletions

View File

@@ -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);
}
}