Merge remote-tracking branch 'origin/3.0'

Conflicts:
	qtcreator.pri
	qtcreator.qbs

Change-Id: I91b9ceba836d01086e9ccdb4499436d17195b729
This commit is contained in:
Eike Ziller
2013-11-06 14:02:08 +01:00
358 changed files with 3130 additions and 107477 deletions

View File

@@ -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()) {