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

git log --graph and root commits

From
Sitaram Chamarty <sitaramc@gmail.com>
Date
Feb 13, 2009, 04:16 UTC
Message-ID
<slrngp9t0u.va9.sitaramc@sitaramc.homelinux.net>

I was wondering if there was any way, when using 'git log --graph --pretty=oneline' to get a different marker (perhaps an underscore) for a root commit.

I have a couple of repos in which there are multiple roots (a bit like the git tree itself, which has separately rooted html and man branches), and it would be nice to see some sign of that break in the git log graph.

Thanks,
Sitaram
Next: Johannes Schindelin
Message 1 of 5 in “git log --graph and root commits”
  1. Sitaram ChamartyFeb 13, 2009
  2. Johannes SchindelinFeb 13, 2009
  3. Sitaram ChamartyFeb 13, 2009
  4. Jakub NarebskiFeb 13, 2009
  5. Sitaram ChamartyFeb 14, 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.