Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Stash pop removes stash from list even when there are conflicts #2382

Closed
wants to merge 1 commit into from

Conversation

wugeer
Copy link
Contributor

@wugeer wugeer commented Oct 5, 2024

This Pull Request fixes/closes #2372 .

It changes the following:

  • stash_pop not remove stash from list even when there are conflicts

before change
before1005.webm

after change
after1005.webm

stash pop success
success1005.webm

I followed the checklist:

  • I added unittests
  • I ran make check without errors
  • I tested the overall application
  • I added an appropriate item to the changelog

Sorry, something went wrong.

@wugeer wugeer force-pushed the fix_issue_2372 branch 2 times, most recently from 561af4a to fe743bd Compare October 22, 2024 14:08
@wugeer
Copy link
Contributor Author

wugeer commented Nov 6, 2024

@extrawurst Hello, could you please take a moment to review this PR? If the changes aren't good enough, I'll continue working on improving them. :)

@extrawurst extrawurst requested a review from cruessler March 22, 2025 10:58
@cruessler
Copy link
Collaborator

I’ll have a look later in the day!

@extrawurst
Copy link
Collaborator

@wugeer in any case we would need you to update your branch

@cruessler
Copy link
Collaborator

@wugeer Can you try the latest master to see whether this issue still needs fixing? I’m asking because gitui already refuses to pop a stash on my machine with the following error message when popping would result in a conflict: git error:1 conflict prevents checkout; class=Checkout (20); code=Conflict (-13). Thanks!

@wugeer
Copy link
Contributor Author

wugeer commented Mar 25, 2025

@cruessler Sorry for the late response. I've resubmitted the code. Could you please review it when you have a moment? Thanks!

@cruessler
Copy link
Collaborator

@wugeer Can you try the latest master to see whether your PR is still necessary? When trying to apply a stash that would resolve in conflicts, gitui refuses to pop the stash on my machine with the following error message: git error:1 conflict prevents checkout; class=Checkout (20); code=Conflict (-13).

@wugeer
Copy link
Contributor Author

wugeer commented Mar 29, 2025

@cruessler Indeed, this issue has been fixed in the latest code. Thank you for your reminder and assistance. I will close this PR. Thanks again for your help.

@wugeer wugeer closed this Mar 29, 2025
@cruessler
Copy link
Collaborator

Glad I could help, thanks for your efforts!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stash pop removes stash from list even when there are conflicts
3 participants