feat: Add user language instruction to commit prompt

This commit is contained in:
Paul Gauthier (aider) 2025-05-09 06:17:49 -07:00
parent 81b86441fd
commit 23714d7db6
2 changed files with 15 additions and 3 deletions

View file

@ -13,11 +13,13 @@ Generate a one-line commit message for those changes.
The commit message should be structured as follows: <type>: <description>
Use these for <type>: fix, feat, build, chore, ci, docs, style, refactor, perf, test
Ensure the commit message:
Ensure the commit message:{language_instruction}
- Starts with the appropriate prefix.
- Is in the imperative mood (e.g., \"add feature\" not \"added feature\" or \"adding feature\").
- Does not exceed 72 characters.
Reply only with the one-line commit message, without any additional text, explanations, or line breaks.
Reply only with the one-line commit message, without any additional text, explanations, \
or line breaks.
"""