forked from qt-creator/qt-creator
Git: Remove duplicate arguments
BaseController already adds -M and -C for us. Change-Id: Ifb64e78a4eba5f43b6fbe2a701f087ebf38db45a Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -379,8 +379,7 @@ void ShowController::processOutput(const QString &output)
|
|||||||
|
|
||||||
QStringList args;
|
QStringList args;
|
||||||
args << QLatin1String("show") << QLatin1String("--format=format:") // omit header, already generated
|
args << QLatin1String("show") << QLatin1String("--format=format:") // omit header, already generated
|
||||||
<< QLatin1String("-M") << QLatin1String("-C") << QLatin1String(noColorOption)
|
<< QLatin1String(noColorOption) << QLatin1String(decorateOption) << m_id;
|
||||||
<< QLatin1String(decorateOption) << m_id;
|
|
||||||
m_state = GettingDiff;
|
m_state = GettingDiff;
|
||||||
runCommand(QList<QStringList>() << addConfigurationArguments(args));
|
runCommand(QList<QStringList>() << addConfigurationArguments(args));
|
||||||
} else if (m_state == GettingDiff) {
|
} else if (m_state == GettingDiff) {
|
||||||
|
Reference in New Issue
Block a user