diff --git a/aider/repomap.py b/aider/repomap.py index 577b7973d..26a52d064 100644 --- a/aider/repomap.py +++ b/aider/repomap.py @@ -122,8 +122,7 @@ class RepoMap: def split_path(self, path): path = os.path.relpath(path, self.root) - return [path] - return fname_to_components(path, True) + return [path + ":"] def get_tags(self, filename): # Check if the file is in the cache and if the modification time has not changed