mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
wip: Refactor coder.py to improve commit message display.
This commit is contained in:
parent
06818156cf
commit
b9d07e5eec
1 changed files with 4 additions and 3 deletions
|
@ -512,10 +512,11 @@ class Coder:
|
||||||
|
|
||||||
if ask:
|
if ask:
|
||||||
if which == "repo_files":
|
if which == "repo_files":
|
||||||
self.io.tool("Git repo has uncommitted changes.\n")
|
self.io.tool("Git repo has uncommitted changes.")
|
||||||
else:
|
else:
|
||||||
self.io.tool("Files have uncommitted changes.\n")
|
self.io.tool("Files have uncommitted changes.")
|
||||||
self.io.tool(f"Suggested commit message:\n{commit_message}\n")
|
self.io.tool(f"Suggested commit message:")
|
||||||
|
self.io.tool(commit_message)
|
||||||
|
|
||||||
res = self.io.prompt_ask(
|
res = self.io.prompt_ask(
|
||||||
"Commit before the chat proceeds [y/n/commit message]?",
|
"Commit before the chat proceeds [y/n/commit message]?",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue