gitui
gitui copied to clipboard
Cannot commit with empty e-mail.
Describe the bug
When git is configured with an empty e-mail address, gitui
does not allow commits.
To Reproduce Steps to reproduce the behavior:
git config --global user.email "<>"
git init foo
cd foo
echo "some content" > a_file.txt
gitui
# Stage a_file.txt
# Hit "c" to start a commit
# Type any commit message and hit enter
Expected behavior A new commit should be created.
Screenshots
Context (please complete the following information):
- Fedora 39
- GitUI 0.24.3
- Git 2.44.0
That is literally not an empty string π
pretty sure thatβs an upstream issue in libgit2
For some reason, I though git didn't allow actual empty strings and used <> to represent them. Not sure where I got the idea.
Anyway, I did a quick test with email =
in my .gitconfig
file, and I got a similar error message: