Open
Description
Describe the solution you'd like
Opening the external editor is actually not done by git commit
command, so we may need to manually put the diff into the created COMMIT_EDITMSG file.
Lines 160 to 187 in e08d954
Describe alternatives you've considered
Or horner commit.verbose
configuration variable. (#900)
Additional context
It would be useful to have a full diff in context when I edit commit messages in an external editor. This would allow me to benefit from completions and copilot, etc.
Activity
extrawurst commentedon Apr 17, 2025
Still happy to take a PR that adds the diff into the commit template
lljbash commentedon May 9, 2025
I'm working on a PR for this. Just want to check: is it acceptable to call external git commands, or should everything be implemented purely in Rust?
git commit --verbose
template in external editor #2640