Skip to content

Commit

Permalink
Fix broken revision grid content filter (gitextensions#5450)
Browse files Browse the repository at this point in the history
* Fix broken revision grid content filter

Previously searching for Foo would run git log with -SFoo (including the quotes).

This commit adds a space and quotes the filter text alone.

* Use -G for git log search over -S
  • Loading branch information
drewnoakes authored Sep 19, 2018
1 parent 38900ec commit fb82d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GitUI/UserControls/RevisionGrid/RevisionGridControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ public void FormatQuickFilter(string filter,
{
if (cmdLineSafe)
{
revListArgs += "\"-S" + filter + "\" ";
revListArgs += "-G" + filter.Quote();
}
else
{
Expand Down

0 comments on commit fb82d85

Please sign in to comment.