Skip to content

Automatically show why a command failed #4981

@ilan-schemoul

Description

@ilan-schemoul

Is your feature request related to a problem? Please describe.

I have pre commits. They fail sometimes. It's annoying to see the reasons of the failures.
"Git command failed" I have to esc, "@", go down, enter, read the message, (fix my commit outside lazygit), esc again (because the focus is on command log), c, enter

Describe the solution you'd like

Instead of typing many keys I just want to see the error message instantly.

Additional optional idea: Maybe also a "r" to retry (so I modify the code in another window, and with "r" I stage again the files already staged (so it can incorporates the updated chunk) and I try to commit again.

Describe alternatives you've considered

"@" go down enter is also a bit too many keys as such to just see an error IMO

lazygit 0.55.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions