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:
Orgad Shaneh
2018-10-10 09:54:47 +03:00
committed by Orgad Shaneh
parent 86732dbdc0
commit 762fb5c353
6 changed files with 21 additions and 31 deletions

View File

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