From 66b8c19c1c652aacbe5c4f51666f91d24c5a3143 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 9 May 2023 13:22:23 -0700 Subject: [PATCH] WIP: Add ask parameter to show_diffs in coder.py. --- aider/coder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aider/coder.py b/aider/coder.py index c33d6dd86..4786e7cce 100755 --- a/aider/coder.py +++ b/aider/coder.py @@ -384,8 +384,9 @@ class Coder: self.last_modified = self.get_last_modified() return - if self.show_diffs: + if self.show_diffs or ask: self.console.print(Text(diffs)) + diffs = "# Diffs:\n" + diffs # for fname in dirty_fnames: