gitui-org / gitui-org/gitui

Cannot commit with empty e-mail.

Open
#2,178 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
22.5k
Forks
773
PR merge metrics
No merged PRs in 30d

Description

**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**
![image](https://github.com/extrawurst/gitui/assets/1566372/7cafc4d2-2f3b-4d9e-8e50-7e95643fb7bd)

**Context (please complete the following information):**
- Fedora 39
- GitUI 0.24.3
- Git 2.44.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.