diff --git a/src/plugins/git/gitgrep.cpp b/src/plugins/git/gitgrep.cpp index ea7406a0d50..f460cb9c7f3 100644 --- a/src/plugins/git/gitgrep.cpp +++ b/src/plugins/git/gitgrep.cpp @@ -161,6 +161,8 @@ public: QStringList arguments = { "-c", "color.grep.match=bold red", "-c", "color.grep=always", + "-c", "color.grep.filename=", + "-c", "color.grep.lineNumber=", "grep", "-zn", "--no-full-name" }; if (!(m_parameters.flags & FindCaseSensitively))