Skip to content

Display errors from git nicer (maybe parse them, or reduce the number of required interactions) #537

@fnune

Description

@fnune

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

When a git error happens, I intuitively already know what's up most of the time. If I don't, I only need one short line to understand it. However, Neogit displays (1) the raw error from git, and (2) yet another wrapped error from Neogit saying "git failed":

image

This also forces users to hit enter twice instead of maybe just once (or zero?).

Describe the solution you'd like

I'd like:

  • for these error messages to be smaller and to display more succinctly
  • for there to only be one "press Enter" dialog, or ideally zero (for example by showing a message in the status bar that doesn't require a keypress)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions