gitui-org / gitui-org/gitui

Cannot commit with empty e-mail.

Aperta
#2,178 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Rust
Stelle
22.5k
Fork
773
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.