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

Re: `git log --graph` with multiple roots is confusing

From
John Keeping <john@keeping.me.uk>
Date
Jun 30, 2014, 08:08 UTC
Message-ID
<20140630080829.GB13153@serenity.lan>
In-Reply-To
<CALygMcDXjMUcq=8ERVTES+5qNjLMe_OFPbmeqAosU7qmk=QuUQ@mail.gmail.com>
On Sun, Jun 29, 2014 at 11:40:40PM -0700, Gary Fixler wrote:
Show 17 quoted lines
> I sometimes pull things in from unrelated repositories to rebase or
> cherry-pick items from a different line of development. I've done this
> to bring isolated features into a project in their own feature
> branches with their full development histories, and also to extract
> lines of development out to their own project, with their histories
> intact. These are usually not connected commits, but things I have to
> track down across time with `git log -S` and friends.
> 
> When I `git remote add otherrepo <url>`, then view things with my
> aliased `git log --oneline --all --graph --decorate` alias, I'm
> usually immediately straining to figure out what's what, as the two
> trees stack onto each other with no separation. It would be nice if
> root commits used something other than *, and/or if they could be
> colored differently by default, or via some option to make them stand
> out as parent-less commits.
> 
> Is this feasible, or already possible?
Have you tried `git log --boundary`?
Previous: Gary FixlerNext: Gary Fixler
Message 2 of 5 in “`git log --graph` with multiple roots is confusing”
  1. Gary FixlerJun 30, 2014
  2. John KeepingJun 30, 2014
  3. Gary FixlerJun 30, 2014
  4. Jeff KingJul 9, 2014
  5. Duy NguyenJul 9, 2014

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.