Skip to content

Conversation

@javoire
Copy link
Owner

@javoire javoire commented Dec 1, 2025

When a local branch has been rebased but not pushed, stack status now correctly detects this and shows a warning:

⚠ Stack out of sync detected:
  - Branch 'branch-name' differs from origin (needs push)

Previously, it would incorrectly report "Stack is perfectly synced!" even when the local branch had different commits than the remote.

Changes:

  • Compare local branch commit hash with origin/<branch> commit hash
  • Report sync issue if they differ
  • Added verbose logging for this check

@javoire javoire enabled auto-merge December 1, 2025 19:41
@javoire javoire merged commit 10d7124 into main Dec 1, 2025
1 check passed
@javoire javoire deleted the fix/detect-local-remote-divergence branch December 1, 2025 20:46
@javoire
Copy link
Owner Author

javoire commented Dec 1, 2025

🎉 This PR is included in version 1.1.1 🎉

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.

1 participant