Skip to content

Protected branches error is too vague #1027

Closed

Description

@tierninho

If a user tries to push code to a protected branch then they get a generic error "Git Error" which is somewhat unhelpful as to what the problem is. Can a check be made to see if the branch is protected so we can generate a more useful error msg?

Turn on setting to test:
screen shot 2017-03-09 at 10 08 51 am

Attempt to push a commit:
screen shot 2017-03-09 at 10 10 35 am

Build 0.0.28, OSX 10.11.5.

Activity

  1. shiftkey commented on Mar 14, 2017

    @shiftkey
    Member

    See desktop/dugite#70 for the upstream PR to handle this error. Waiting on #946 to land (which bumps git-kitchen-sink) before I address this in-app by switching over to dugite to get this fix.

  2. self-assigned this
    on Mar 14, 2017
  3. locked as resolved and limited conversation to collaborators on Jul 23, 2018
  4. unlocked this conversation on Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions