diff --git a/aider/commands.py b/aider/commands.py index de865802e..f56152bc3 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -814,7 +814,7 @@ class Commands: if expanded_word in f: read_only_matched.append(f) continue - + # Try samefile comparison for relative paths try: abs_word = os.path.abspath(expanded_word)