forked from qt-creator/qt-creator
Git: Fetch completion refs asynchronously
For repositories with many refs the dialog takes a few seconds to open. Change-Id: I82154ad8a77cc304db941f9d41e36e32aa7043cd Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
05966ab153
commit
61d94c5ccd
@@ -1681,6 +1681,12 @@ bool GitClient::synchronousForEachRefCmd(const QString &workingDirectory, QStrin
|
||||
return rc;
|
||||
}
|
||||
|
||||
VcsCommand *GitClient::asyncForEachRefCmd(const QString &workingDirectory, QStringList args) const
|
||||
{
|
||||
args.push_front(QLatin1String("for-each-ref"));
|
||||
return vcsExec(workingDirectory, args, 0, false, silentFlags);
|
||||
}
|
||||
|
||||
bool GitClient::synchronousRemoteCmd(const QString &workingDirectory, QStringList remoteArgs,
|
||||
QString *output, QString *errorMessage, bool silent) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user