forked from qt-creator/qt-creator
Git - fetch from all remotes in repository
Change-Id: I024e6905ad9ef246bf30b898c654ba99e73b42e9 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
2dc7b28896
commit
84520b37e7
@@ -2659,8 +2659,8 @@ void GitClient::revert(const QStringList &files, bool revertStaging)
|
||||
bool GitClient::synchronousFetch(const QString &workingDirectory, const QString &remote)
|
||||
{
|
||||
QStringList arguments(QLatin1String("fetch"));
|
||||
if (!remote.isEmpty())
|
||||
arguments << remote;
|
||||
arguments << (remote.isEmpty() ? QLatin1String("--all") : remote);
|
||||
|
||||
// Disable UNIX terminals to suppress SSH prompting.
|
||||
const unsigned flags = VcsBase::VcsBasePlugin::SshPasswordPrompt|VcsBase::VcsBasePlugin::ShowStdOutInLogWindow
|
||||
|VcsBase::VcsBasePlugin::ShowSuccessMessage;
|
||||
|
||||
Reference in New Issue
Block a user