Skip to content

fix(git): a start-cut branch is current, not zombie — ship commits on it#58

Merged
joeseverino merged 1 commit into
mainfrom
ship-honors-start-branch
Jul 3, 2026
Merged

fix(git): a start-cut branch is current, not zombie — ship commits on it#58
joeseverino merged 1 commit into
mainfrom
ship-honors-start-branch

Conversation

@joeseverino

Copy link
Copy Markdown
Owner

start cuts a named branch off origin/main carrying uncommitted work — zero unique commits, so git_branch_state called it zombie and ship recut ship/, stranding the named branch (2026-07-03 pile-up: resync dropped 4 zombie locals). The discriminator: a true merged leftover is BEHIND base; a start-cut home is AT base tip with a dirty tree — now classified current, in the one ladder, so every consumer (ship, repos --json, TUI queues) agrees. Two new git-flow.bats cases: the start-cut home targets itself; a dirty branch behind base is still recut. Closes task-ship-honors-the-start-cut-branch-one-branch-decision-in-the.

@joeseverino joeseverino merged commit 66b8346 into main Jul 3, 2026
1 check passed
@joeseverino joeseverino deleted the ship-honors-start-branch branch July 3, 2026 16:44
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.

1 participant