Add the ability to add images that are located outside the git repo #519

This commit is contained in:
Paul Gauthier 2024-04-12 08:23:59 -07:00
parent c2b8b2355d
commit a84b4f8144
2 changed files with 5 additions and 2 deletions

View file

@ -215,7 +215,10 @@ class GitRepo:
if not self.aider_ignore_file or not self.aider_ignore_file.is_file():
return
fname = self.normalize_path(fname)
try:
fname = self.normalize_path(fname)
except ValueError:
return
mtime = self.aider_ignore_file.stat().st_mtime
if mtime != self.aider_ignore_ts: