Crash when commiting after `open_commit_editor()`
- Vorherrschende Sprache
- Rust
- Sterne
- 22.5k
- Forks
- 773
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
**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.
Beitragsleitfaden
Rechercherichtung
Reproduziere den Windows-10-Workflow mit gitui 0.28.0: Bearbeite eine nicht gestagte Datei, öffne den Commit-Editor, bearbeite und schließe ihn und führe dann den Commit aus. Beginne damit, die Pfade von open_commit_editor und commit nachzuverfolgen; abgeschlossen ist die Aufgabe, wenn die bearbeitete Datei erfolgreich committet wird, ohne dass gitui abstürzt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- git, rust
- Bereich
- cli
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 48/100