Commit 178fe102 authored by Friedemann Kleint's avatar Friedemann Kleint

Fixes: Suppress colors for git diff project, class names in widget template

parent 465bf149
<ui version="4.0">
<class>%CLASS%Class</class>
<class>%CLASS%</class>
<widget class="%BASECLASS%" name="%CLASS%" >
<property name="geometry" >
<rect>
......
......@@ -235,9 +235,9 @@ void GitClient::diff(const QString &workingDirectory,
if (Git::Constants::debug)
qDebug() << "diff" << workingDirectory << fileName;
QStringList arguments;
arguments << QLatin1String("diff");
arguments << QLatin1String("diff") << QLatin1String(noColorOption);
if (!fileName.isEmpty())
arguments << diffArgs << QLatin1String(noColorOption) << QLatin1String("--") << fileName;
arguments << diffArgs << QLatin1String("--") << fileName;
const QString kind = QLatin1String(Git::Constants::GIT_DIFF_EDITOR_KIND);
const QString title = tr("Git Diff %1").arg(fileName);
......
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