fix: have ripgrep ignore .gitignore files it finds

This commit is contained in:
Travis Abendshien
2026-09-13 02:56:01 -07:00
parent 35511e1ccf
commit 2592fe0cfa
+1
View File
@@ -47,6 +47,7 @@ def _scan_with_ripgrep(scan_dir: Path, ignore_patterns: list[str]) -> Iterator[P
"--files",
"--follow",
"--hidden",
"--no-ignore", # Ignore *literal* .gitignore files in paths
"--ignore-file",
str(compiled_ignore_path),
],