Skip to content

Keep commit message when pre-commit hook fails #1035

@aouaki

Description

@aouaki

Is your feature request related to a problem? Please describe.
I'm always frustrated when my pre-commit fails, because the commit message I wrote in gitui gets lost. When I fix the issue and want to commit again, I have to write the commit message from scratch (I sometimes need a few attempts, that's very frustrating...)

Describe the solution you'd like
To me, the commit message I had written when the pre-commit failed should be pre-filled when trying to commit again.

Additional context
I'm using pre-commit for the hook, and gitui 0.18.0

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions