Use git commit --verbose
when opening the external editor on a commit message
#2619
Labels
git commit --verbose
when opening the external editor on a commit message
#2619
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.gitui/src/popups/commit.rs
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.
The text was updated successfully, but these errors were encountered: