forked from qt-creator/qt-creator
Git: Make checkout asynchronous
It can be slow when many files are replaced. Change-Id: I308698ef36973374f4526107fbda0d9ad907e707 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
86732dbdc0
commit
762fb5c353
@@ -861,7 +861,7 @@ void GitPlugin::startChangeRelatedAction(const Id &id)
|
||||
m_gitClient->synchronousRevert(workingDirectory, change);
|
||||
break;
|
||||
case Checkout:
|
||||
m_gitClient->stashAndCheckout(workingDirectory, change);
|
||||
m_gitClient->checkout(workingDirectory, change);
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
|
Reference in New Issue
Block a user