forked from qt-creator/qt-creator
Gerrit: Replace --remotes with -r for "git branch"
--remotes was added in 1.7.7 Change-Id: I691bfada8e0b4d2f00924caa76271ee256edf62c Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Petar Perisin <petar.perisin@gmail.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
7e5b462377
commit
050d13726a
@@ -63,7 +63,7 @@ GerritPushDialog::GerritPushDialog(const QString &workingDir, const QString &rev
|
|||||||
QString output;
|
QString output;
|
||||||
QString error;
|
QString error;
|
||||||
QStringList args;
|
QStringList args;
|
||||||
args << QLatin1String("--remotes") << QLatin1String("--contains")
|
args << QLatin1String("-r") << QLatin1String("--contains")
|
||||||
<< earliestCommit + QLatin1Char('^');
|
<< earliestCommit + QLatin1Char('^');
|
||||||
|
|
||||||
if (!gitClient->synchronousBranchCmd(m_workingDir, args, &output, &error))
|
if (!gitClient->synchronousBranchCmd(m_workingDir, args, &output, &error))
|
||||||
@@ -94,7 +94,7 @@ GerritPushDialog::GerritPushDialog(const QString &workingDir, const QString &rev
|
|||||||
error.clear();
|
error.clear();
|
||||||
args.clear();
|
args.clear();
|
||||||
|
|
||||||
args << QLatin1String("--remotes");
|
args << QLatin1String("-r");
|
||||||
|
|
||||||
if (!gitClient->synchronousBranchCmd(m_workingDir, args, &output, &error))
|
if (!gitClient->synchronousBranchCmd(m_workingDir, args, &output, &error))
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user