mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-09-15 06:59:34 +02:00
fix: have ripgrep ignore .gitignore files it finds
This commit is contained in:
@@ -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),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user