forked from qt-creator/qt-creator
Git: Only handle conflicts after rebase if they are present
rebase might fail for other reasons (detached head, unconfigured upstream...) Change-Id: If80844dcbfd4f61fdd44d77f934e86ff96f0a1d3 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
ee4739491a
commit
2e3a88b5ec
@@ -2102,7 +2102,7 @@ bool GitClient::synchronousPullOrRebase(const QString &workingDirectory, const Q
|
||||
const bool ok = resp.result == Utils::SynchronousProcessResponse::Finished;
|
||||
if (ok)
|
||||
GitPlugin::instance()->gitVersionControl()->emitRepositoryChanged(workingDirectory);
|
||||
else
|
||||
else if (resp.stdOut.contains(QLatin1String("CONFLICT")))
|
||||
handleMergeConflicts(workingDirectory, rebase);
|
||||
return ok;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user