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:
Tobias Hunger
2015-04-23 11:47:04 +02:00
parent 35aafdcdd9
commit bd1ee39991

View File

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