Skip to content

Conversation

@javoire
Copy link
Owner

@javoire javoire commented Dec 19, 2025

When --cherry-pick rebuilds a polluted branch, the original branch is deleted with git branch -D, which also removes its config section from .git/config (including the stackparent config).

This caused the stack tree to show incorrect parent relationships after a cherry-pick rebuild.

Fix: Restore the stackparent config after renaming the temp branch to the original name.

@javoire javoire force-pushed the feat/cherry-pick-rebuild branch from 231bd52 to dd333fb Compare December 22, 2025 12:45
@javoire javoire merged commit 1a483a0 into main Dec 22, 2025
1 check passed
@javoire javoire deleted the feat/cherry-pick-rebuild branch December 22, 2025 13:18
@javoire
Copy link
Owner Author

javoire commented Dec 22, 2025

🎉 This PR is included in version 1.7.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants