Skip to content

Discarding changes doesn't abort merge #5699

Closed

Description

@outofambit

Description

If you discard all changes in the middle of a conflicted merge, the changes are discarded but the merge is not aborted.

Version

  • GitHub Desktop: 1.4.0
  • Operating system: MacOS 10.13.6

Steps to Reproduce

merge-abort

Expected Behavior

git status is normal

Actual Behavior

git status says still merging
screen shot 2018-09-20 at 2 41 36 pm

Additional Information

Activity

  1. added
    help wanted
    on Sep 20, 2018
  2. iAmWillShepherd commented on Sep 20, 2018

    @iAmWillShepherd
    Contributor

    I think this is normal behavior of Git. I agree we should give the user the option to back out of a merge, but I don't think discarding files should cancel a merge implicitly. Maybe we could add a context-button for cancelling a merge due to conflict?

    cc @desktop/product @desktop/core

  3. outofambit commented on Sep 20, 2018

    @outofambit
    ContributorAuthor

    don't forget @desktop/design :)

  4. removed
    help wanted
    on Sep 21, 2018
  5. billygriffin commented on Sep 21, 2018

    @billygriffin
    Contributor

    @ampinsk is looking at this as part of the merge conflicts flow, so let's hold off on help-wanted for the moment. Definitely seems to me like this shouldn't be overlooked as part of that effort.

  6. ampinsk commented on Sep 21, 2018

    @ampinsk
    Contributor

    I do feel like I've run into the confusion of discarding my changes during a merge conflict and the app gives you errors with no way of aborting the merge. I'm looking at other ways to do this (signal that you're in the middle of resolving conflicts, giving you a way to get out of it) but we could address this in the meantime, just depends on timelines 😄

  7. outofambit commented on Sep 21, 2018

    @outofambit
    ContributorAuthor

    fwiw this would develop some functionality we could reuse for the future abort merge flow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions