forked from qt-creator/qt-creator
Git: Handle "no changes" case on conflict resolving
Change-Id: I75bb18c9564ffac3de2654bd388465794481b487 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
c68adbf9c0
commit
34fd5ca532
@@ -2132,10 +2132,10 @@ bool GitClient::synchronousPull(const QString &workingDirectory, bool rebase)
|
||||
return executeAndHandleConflicts(workingDirectory, arguments, abortCommand);
|
||||
}
|
||||
|
||||
bool GitClient::synchronousCommandContinue(const QString &workingDirectory, const QString &command)
|
||||
bool GitClient::synchronousCommandContinue(const QString &workingDirectory, const QString &command, bool hasChanges)
|
||||
{
|
||||
QStringList arguments;
|
||||
arguments << command << QLatin1String("--continue");
|
||||
arguments << command << QLatin1String(hasChanges ? "--continue" : "--skip");
|
||||
return executeAndHandleConflicts(workingDirectory, arguments, command);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user