From aa98e43d595c67dda6be9459ee471520af1ef169 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 4 Sep 2024 08:44:25 -0700 Subject: [PATCH] refactor: rename raw command methods for consistency --- aider/commands.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aider/commands.py b/aider/commands.py index 3041ae4f8..2231b2e97 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -236,7 +236,7 @@ class Commands: except ANY_GIT_ERROR as err: self.io.tool_error(f"Unable to complete commit: {err}") - def cmd_commit_raw(self, args=None): + def raw_cmd_commit(self, args=None): if not self.coder.repo: self.io.tool_error("No git repository found.") return @@ -433,7 +433,7 @@ class Commands: except ANY_GIT_ERROR as err: self.io.tool_error(f"Unable to complete undo: {err}") - def cmd_undo_raw(self, args): + def raw_cmd_undo(self, args): if not self.coder.repo: self.io.tool_error("No git repository found.") return @@ -535,7 +535,7 @@ class Commands: except ANY_GIT_ERROR as err: self.io.tool_error(f"Unable to complete diff: {err}") - def cmd_diff_raw(self, args=""): + def raw_cmd_diff(self, args=""): if not self.coder.repo: self.io.tool_error("No git repository found.") return