desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Commit fields are cleared after commit error

Open hbruch opened this issue 4 years ago • 0 comments

Expectation

If a commit fails with an error message, e.g. error unmarshaling items from json: json: cannot unmarshal object into Go value of type []*jsonschema.Schema, the entered commit message should not be cleared, so that after fixing the issue, I can commit without reentering the message.

Current behavior

Fields are cleared.

Proposed fix

Fields should not be cleared or former messages be recallable. For the second option it would be helpful if commit messages are not split into title and message (think this was discussed elsewhere).

hbruch avatar Mar 28 '20 06:03 hbruch