finish removing aider: prefix

This commit is contained in:
Paul Gauthier 2024-06-18 08:37:13 -07:00
parent 0cc00f2a1e
commit 5a3627de6e
4 changed files with 17 additions and 20 deletions

View file

@ -110,9 +110,6 @@ class GUI:
show_undo = False
res = ""
if commit_hash:
prefix = "aider: "
if commit_message.startswith(prefix):
commit_message = commit_message[len(prefix) :]
res += f"Commit `{commit_hash}`: {commit_message} \n"
if commit_hash == self.coder.last_aider_commit_hash:
show_undo = True