Problem
After pushing a new commit to an early branch in a stack, stck sync reports "Stack is already up to date. No sync needed." even though all downstream branches need rebasing.
Steps to reproduce
- Have a 6-branch stack:
main <- A <- B <- C <- D <- E <- F
- Checkout branch A, make a change, commit, push
- Run
stck sync (from any branch in the stack)
- Result: "Stack is already up to date"
- Expected: downstream branches B-F should be rebased onto the new A
Context
It seems sync only compares against remote state rather than checking if local parent branch tips have moved. This is the primary use case for sync — fix something on an early branch and cascade the change down the stack.
We had to manually git checkout <branch> && git rebase <parent> for each of the 5 downstream branches.
Problem
After pushing a new commit to an early branch in a stack,
stck syncreports "Stack is already up to date. No sync needed." even though all downstream branches need rebasing.Steps to reproduce
main <- A <- B <- C <- D <- E <- Fstck sync(from any branch in the stack)Context
It seems
synconly compares against remote state rather than checking if local parent branch tips have moved. This is the primary use case for sync — fix something on an early branch and cascade the change down the stack.We had to manually
git checkout <branch> && git rebase <parent>for each of the 5 downstream branches.