jouet stack status
- Usage:
jouet stack status [BRANCH]
Show each layer's PR and whether it contains its parent, by ancestry and content
For each layer: its PR, base and head, unpushed local commits, and whether it contains the layer below. That is checked by ancestry (the parent's tip is in its history) and by content: every file the parent layer changed must have that change in the layer's tree, so a restack that kept the commits but reverted their changes is caught. A layer whose prerequisite merged needs the trunk merged in. A layer's local branch is used when there is one, since it may hold unpushed fixes. Exits 1 when a layer needs attention, 3 when the branch is in no stack (no PR, and gh-stack does not track it), 5 when GitHub cannot be reached.
Arguments
[BRANCH]— A branch in the stack (default: the current branch)
Flags
-h --help— Print help