Crash when commiting after `open_commit_editor()`
- Lingua principale
- Rust
- Stelle
- 22.5k
- Fork
- 773
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**Describe the bug**
After I edit some files using `open_commit_editor` and commit the file, `gitui` is crashed
If I edit message in native commit box intead of `open_commit_editor()`, the commit successed.
But It crashed always after I edit some file using `open_commit_editor`
**To Reproduce**
Steps to reproduce the behavior:
1. edit file in unstaged changes box
2. Press `open_commit`
3. Press `open_commit_editor` shortcut and edit additionally
4. close editor
5. Press `commit` shorcut
6. gitui is crashed and return to terminal
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Context (please complete the following information):**
- Windows 10 Pro 22H2
- 0.28.0 (5527160)
**Additional context**
Add any other context about the problem here.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Riproduci il workflow di Windows 10 usando gitui 0.28.0: modifica un file non in stage, apri l’editor del commit, modificalo e chiudilo, quindi esegui il commit. Inizia tracciando i percorsi di open_commit_editor e commit; il lavoro è completo quando il file modificato viene committato correttamente senza che gitui vada in crash.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- git, rust
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 48/100