Closed
Description
Describe the bug
The recording below demonstrates the problem.
I have a commit message template in a gitconfig like this:
[commit]
template = ~/.config/git/custom-template
and gitui can also read it. So far everything as expected. When I try to commit something (c
) it opens up the text area with my predefined commit message. But I am not able to immediately commit (⏎
) because the option is greyed out. I need to remove or add a character in order to be able to commit.
To Reproduce
Steps to reproduce the behavior:
- Try to commit a change (
c
). - See the predefined commit message in the text area.
- Try to commit (
⏎
). - It doesn't work because the option is greyed out.
Expected behavior
- Try to commit a change (
c
). - See the predefined commit message in the text area.
- Try to commit (
⏎
). - Changes are commited.
Screenshots
Screencast.webm
Context (please complete the following information):
- OS/Distro + Version: Ubuntu 23.04
- GitUI Version 0.24.3
- Rust version: not installed