mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-23 22:04:59 +00:00
wip: Refactor console message for uncommitted changes in coder.py.
This commit is contained in:
parent
23a0339a15
commit
0434f71c9f
1 changed files with 4 additions and 1 deletions
|
@ -493,7 +493,10 @@ class Coder:
|
|||
commit_message = prefix + commit_message
|
||||
|
||||
if ask:
|
||||
self.console.print("[bright_black]Files have uncommitted changes.\n")
|
||||
if which == "repo_files":
|
||||
self.console.print("[bright_black]Git repo has uncommitted changes.\n")
|
||||
else:
|
||||
self.console.print("[bright_black]Files have uncommitted changes.\n")
|
||||
self.console.print(f"[bright_black]Suggested commit message:\n{commit_message}\n")
|
||||
|
||||
res = Prompt.ask(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue