mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 06:15:00 +00:00
WIP: Refactor commit message to show added files.
This commit is contained in:
parent
e38e145c0f
commit
3c1681942a
1 changed files with 2 additions and 1 deletions
3
coder.py
3
coder.py
|
@ -96,7 +96,8 @@ class Coder:
|
|||
self.console.print(
|
||||
f"[red bold]Added {relative_fname} to the git repo"
|
||||
)
|
||||
commit_message = f"Initial commit: Added new files to the git repo: {', '.join(new_files)}"
|
||||
show_files = ', '.join(new_files)
|
||||
commit_message = f"Initial commit: Added new files to the git repo: {show_files}"
|
||||
repo.git.commit("-m", commit_message, "--no-verify")
|
||||
self.console.print(
|
||||
f"[green bold]Committed new files with message: {commit_message}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue