mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 06:44:59 +00:00
do not cache aiderignore
This commit is contained in:
parent
cf00037442
commit
d1cd0f9860
1 changed files with 5 additions and 9 deletions
|
@ -206,10 +206,6 @@ class GitRepo:
|
|||
if not self.aider_ignore_file or not self.aider_ignore_file.is_file():
|
||||
return fnames
|
||||
|
||||
mtime = self.aider_ignore_file.stat().st_mtime_ns
|
||||
|
||||
if mtime != self.aider_ignore_ts:
|
||||
self.aider_ignore_ts = mtime
|
||||
lines = self.aider_ignore_file.read_text().splitlines()
|
||||
self.aider_ignore_spec = pathspec.PathSpec.from_lines(
|
||||
pathspec.patterns.GitWildMatchPattern,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue