Commit 148e793d authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Git: Prepend -e to the pattern on grep

This fixes searching for patterns that start with dash.

Change-Id: I824f64151842008a034757de6a00fd8a6cc46d72
Reviewed-by: default avatarAndré Hartmann <>
parent 5250ed4b
......@@ -154,7 +154,7 @@ public:
arguments << "-P";
arguments << "-F";
arguments << m_parameters.text;
arguments << "-e" << m_parameters.text;
GitGrepParameters params = m_parameters.extensionParameters.value<GitGrepParameters>();
if (!params.ref.isEmpty()) {
arguments << params.ref;
Supports Markdown
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