threads / discuss / 21974

first-parent equivalent for show-branch

Subject: first-parent equivalent for show-branch

## tl;dr

One message between Dec 17, 2009 and Dec 17, 2009.

replies: 0people: 1as markdown or json

Jeenu V· Dec 17, 2009, 07:31 UTC · lore
Hi,

I wanted to know if there's a --first-parent equivalent for git show-branch, where in it shows only the first -parents in a vertical column. I feel it'd make the display less cluttered.

As of now, I think, a column shows commits in a merged branch, and
even parents of that branch, which makes reading bit uneasy. What
would be preferable instead to show only the first parent in a column
- something like the output of
git log --graph --pretty=oneline --abbrev-commit --first-parent --all
| sed 's#|\|/##g'
along with the header and naming strings of show-branch.
Thanks
-- 
:J

← back to recent threads