mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
fix: remove incorrect file name filtering in get_ident_filename_matches
This commit is contained in:
parent
8546a1dc86
commit
62b02d4370
1 changed files with 1 additions and 3 deletions
|
@ -590,9 +590,7 @@ class Coder:
|
|||
|
||||
for fname in self.get_all_relative_files():
|
||||
base = Path(fname).with_suffix("").name.lower()
|
||||
# Skip if we already have a file with this name
|
||||
if Path(fname).name.lower() in existing_basenames:
|
||||
continue
|
||||
# Only skip if we already have a file with this name AND the base name matches the identifier
|
||||
if len(base) >= 5:
|
||||
all_fnames[base].add(fname)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue