Commit bd1ee399 authored by Tobias Hunger's avatar Tobias Hunger

Git: Remove duplicate arguments

BaseController already adds -M and -C for us.

Change-Id: Ifb64e78a4eba5f43b6fbe2a701f087ebf38db45a
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 35aafdcd
......@@ -379,8 +379,7 @@ void ShowController::processOutput(const QString &output)
QStringList args;
args << QLatin1String("show") << QLatin1String("--format=format:") // omit header, already generated
<< QLatin1String("-M") << QLatin1String("-C") << QLatin1String(noColorOption)
<< QLatin1String(decorateOption) << m_id;
<< QLatin1String(noColorOption) << QLatin1String(decorateOption) << m_id;
m_state = GettingDiff;
runCommand(QList<QStringList>() << addConfigurationArguments(args));
} else if (m_state == GettingDiff) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment