Skip to content
Snippets Groups Projects
Commit 050d1372 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Gerrit: Replace --remotes with -r for "git branch"


--remotes was added in 1.7.7

Change-Id: I691bfada8e0b4d2f00924caa76271ee256edf62c
Reviewed-by: default avatarAndré Hartmann <aha_1980@gmx.de>
Reviewed-by: default avatarPetar Perisin <petar.perisin@gmail.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 7e5b4623
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ GerritPushDialog::GerritPushDialog(const QString &workingDir, const QString &rev
QString output;
QString error;
QStringList args;
args << QLatin1String("--remotes") << QLatin1String("--contains")
args << QLatin1String("-r") << QLatin1String("--contains")
<< earliestCommit + QLatin1Char('^');
if (!gitClient->synchronousBranchCmd(m_workingDir, args, &output, &error))
......@@ -94,7 +94,7 @@ GerritPushDialog::GerritPushDialog(const QString &workingDir, const QString &rev
error.clear();
args.clear();
args << QLatin1String("--remotes");
args << QLatin1String("-r");
if (!gitClient->synchronousBranchCmd(m_workingDir, args, &output, &error))
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment