We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbb575d commit cead8bbCopy full SHA for cead8bb
1 file changed
aider/tools/grep.py
@@ -166,11 +166,6 @@ def execute(
166
if tool_name == "grep":
167
cmd_args.append("--exclude-dir=.git")
168
169
- # Pattern may start with a dash, this will make rg interpret it as
170
- # an option, "-e" works around this.
171
- if tool_name == "rg":
172
- cmd_args.extend(["-e"])
173
-
174
# Add pattern and directory path
175
cmd_args.extend(["--", pattern, str(search_dir_path)])
176
0 commit comments