From 6bfd89074c4cc67d08925de3017f8ef6a25ed073 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 26 Dec 2024 10:48:04 -0500 Subject: [PATCH] fix: Display shorter path for readonly files --- aider/io.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aider/io.py b/aider/io.py index ecadcb14d..e146170bb 100644 --- a/aider/io.py +++ b/aider/io.py @@ -913,6 +913,7 @@ class InputOutput: editable_files = [f for f in sorted(rel_fnames) if f not in rel_read_only_fnames] if read_only_files: + # for each ro file display the abs path if it is shorter than the rel ai! files_with_label = ["Readonly:"] + read_only_files read_only_output = StringIO() Console(file=read_only_output, force_terminal=False).print(Columns(files_with_label))