Skip to content

Add git stack log short and long, and --stack - #61

Merged
DomBlack merged 1 commit into
DomBlack:mainfrom
mvalipour:log-short-and-stack
Oct 26, 2026
Merged

DomBlack merged 1 commit into
DomBlack:mainfrom
mvalipour:log-short-and-stack

Conversation

@mvalipour

Copy link
Copy Markdown
Contributor

git stack log is the only view, and it waits on GitHub for PR state even when all you want is the shape of the stacks. log short draws the same tree with branch names only and reads nothing but local git, so it never touches the network. log long names the full tree explicitly. stack.log.short makes plain log and bare git stack short for anyone who wants that by default.

--stack (-s) limits the tree to the current branch's stack, which keeps a repo with many stacks readable. On a trunk it shows every stack on it. On a branch that is in no stack it shows them all and says so.

git stack log is the only view, and it waits on GitHub for PR state even
when all you want is the shape of the stacks. log short draws the same
tree with branch names only and reads nothing but local git, so it never
touches the network. log long names the full tree explicitly.
stack.log.short makes plain log and bare git stack short for anyone who
wants that by default.

--stack (-s) limits the tree to the current branch's stack, which keeps
a repo with many stacks readable. On a trunk it shows every stack on it.
On a branch that is in no stack it shows them all and says so.
Copilot AI balanced review requested due to automatic review settings October 23, 2026 13:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@StillAyo

Copy link
Copy Markdown
Contributor

nice

@DomBlack
DomBlack enabled auto-merge (rebase) October 26, 2026 10:53
@DomBlack
DomBlack merged commit fdd83e7 into DomBlack:main Oct 26, 2026
5 checks passed
@DomBlack DomBlack added the enhancement New feature or request label Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants