We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d12c29a commit e6ef9b0Copy full SHA for e6ef9b0
modules/git/grep.go
@@ -69,7 +69,7 @@ func GrepSearch(ctx context.Context, repo *Repository, search string, opts GrepO
69
case GrepModeRegexp:
70
cmd.AddArguments("--perl-regexp")
71
cmd.AddOptionValues("-e", strings.TrimLeft(search, "-"))
72
- default:
+ default: /* words */
73
words := strings.Fields(search)
74
cmd.AddArguments("--fixed-strings", "--ignore-case")
75
for i, word := range words {
0 commit comments