From 06a58b84bbf9cab33916fc9f540857bab8276777 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 18 May 2023 09:55:50 -0700 Subject: [PATCH] noop --- aider/coder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/coder.py b/aider/coder.py index 71d178099..441a85b16 100755 --- a/aider/coder.py +++ b/aider/coder.py @@ -193,6 +193,8 @@ class Coder: def should_auto_commit(self, inp): is_commit_command = inp and inp.startswith("/commit") + if is_commit_command: + return if not self.auto_commits: return @@ -200,8 +202,6 @@ class Coder: return if not self.repo.is_dirty(): return - if is_commit_command: - return if self.last_asked_for_commit_time >= self.get_last_modified(): return return True