forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/3.0'
Conflicts: qtcreator.pri qtcreator.qbs Change-Id: I91b9ceba836d01086e9ccdb4499436d17195b729
This commit is contained in:
@@ -101,11 +101,14 @@ GerritPushDialog::GerritPushDialog(const QString &workingDir, const QString &rev
|
||||
if (ref.contains(head) || ref.isEmpty())
|
||||
continue;
|
||||
|
||||
remoteBranch = ref;
|
||||
if (remoteBranch.isEmpty())
|
||||
remoteBranch = ref;
|
||||
|
||||
// Prefer remote tracking branch if it exists and contains the latest remote commit
|
||||
if (ref == remoteTrackingBranch)
|
||||
if (ref == remoteTrackingBranch) {
|
||||
remoteBranch = ref;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!remoteBranch.isEmpty()) {
|
||||
|
Reference in New Issue
Block a user