mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 06:44:59 +00:00
More paranoid mtime check
This commit is contained in:
parent
5e50307748
commit
a1cb6e4e7a
2 changed files with 5 additions and 4 deletions
|
@ -208,7 +208,7 @@ class GitRepo:
|
|||
|
||||
mtime = self.aider_ignore_file.stat().st_mtime
|
||||
|
||||
if mtime > self.aider_ignore_ts:
|
||||
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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue