Skip to content

[Stashing] Unfriendly feedback when unable to restore stashed changes #7278

Closed

Description

@iAmWillShepherd

Repro steps:

  • make change to README.md in repository
  • switch branches, Yes, stash changes...
  • return to branch, make a different change to README.md
  • choose stash and try to restore change

Expected behaviour:

  • feedback that I can't restore this stash currently

Actual behaviour:

  • not-so-friendly error message from git

Screen Shot 2019-04-18 at 11 03 29 AM

Log:

error: [ui] `git stash pop stash@{0}` exited with an unexpected code: 128.
error: Your local changes to the following files would be overwritten by merge:
    README.md
Please commit your changes or stash them before you merge.
Aborting

error: [ui] error: Your local changes to the following files would be overwritten by merge:
    README.md
Please commit your changes or stash them before you merge.
Aborting

Originally posted by @shiftkey in #7210 (comment)

Activity

  1. added
    bug
    on Apr 12, 2019
  2. added this to the 1.7.0 milestone on Apr 17, 2019
  3. self-assigned this
    on Apr 22, 2019
  4. changed the title [-][Stashing] No feedback given when unable to restore stashed changes[/-] [+][Stashing] Unfriendly feedback when unable to restore stashed changes[/+] on Apr 22, 2019
  5. added
    priority-3
    on Apr 22, 2019
  6. removed their assignment
    on Apr 22, 2019
  7. added
    epic:stashing
    on Apr 23, 2019
  8. removed this from the 1.7.0 milestone on May 20, 2019
  9. iAmWillShepherd commented on Jun 13, 2019

    @iAmWillShepherd
    ContributorAuthor

    This is no longer an issue now that #7428 has been merged.
    2019-06-13 09 28 06

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugepic:stashingpriority-3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions