git/list[1] front-page[2] threads[3] people[4] search[5] about
 

first-parent equivalent for show-branch

From
Jeenu V <jeenuv@gmail.com>
Date
Dec 17, 2009, 07:31 UTC
Message-ID
<5195c8760912162331g53d4a2feob8d955d9abfe935e@mail.gmail.com>
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
Message 1 of 1 in “first-parent equivalent for show-branch”
  1. Jeenu VDec 17, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.