{"thread":{"id":"37026","subject":"`git log --graph` with multiple roots is confusing","startedAt":"2014-06-30T06:40:40Z","lastAt":"2014-07-09T07:16:30Z","messageCount":5,"participants":["Gary Fixler","John Keeping","Jeff King","Duy Nguyen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"245173","messageId":"CALygMcDXjMUcq=8ERVTES+5qNjLMe_OFPbmeqAosU7qmk=QuUQ@mail.gmail.com","threadId":"37026","inReplyTo":null,"subject":"`git log --graph` with multiple roots is confusing","fromName":"Gary Fixler","fromEmail":"gfixler@gmail.com","sentAt":"2014-06-30T06:40:40Z","receivedAt":"2014-06-30T06:40:40Z","isPatch":false,"sender":{"key":"gfixler@gmail.com","avatar":null},"body":"I sometimes pull things in from unrelated repositories to rebase or\ncherry-pick items from a different line of development. I've done this\nto bring isolated features into a project in their own feature\nbranches with their full development histories, and also to extract\nlines of development out to their own project, with their histories\nintact. These are usually not connected commits, but things I have to\ntrack down across time with `git log -S` and friends.\n\nWhen I `git remote add otherrepo <url>`, then view things with my\naliased `git log --oneline --all --graph --decorate` alias, I'm\nusually immediately straining to figure out what's what, as the two\ntrees stack onto each other with no separation. It would be nice if\nroot commits used something other than *, and/or if they could be\ncolored differently by default, or via some option to make them stand\nout as parent-less commits.\n\nIs this feasible, or already possible?\n"},{"id":"245175","messageId":"20140630080829.GB13153@serenity.lan","threadId":"37026","inReplyTo":"CALygMcDXjMUcq=8ERVTES+5qNjLMe_OFPbmeqAosU7qmk=QuUQ@mail.gmail.com","subject":"Re: `git log --graph` with multiple roots is confusing","fromName":"John Keeping","fromEmail":"john@keeping.me.uk","sentAt":"2014-06-30T08:08:29Z","receivedAt":"2014-06-30T08:08:29Z","isPatch":false,"sender":{"key":"john@keeping.me.uk","avatar":"https://avatars.githubusercontent.com/u/1702081?v=4"},"body":"On Sun, Jun 29, 2014 at 11:40:40PM -0700, Gary Fixler wrote:\n> I sometimes pull things in from unrelated repositories to rebase or\n> cherry-pick items from a different line of development. I've done this\n> to bring isolated features into a project in their own feature\n> branches with their full development histories, and also to extract\n> lines of development out to their own project, with their histories\n> intact. These are usually not connected commits, but things I have to\n> track down across time with `git log -S` and friends.\n> \n> When I `git remote add otherrepo <url>`, then view things with my\n> aliased `git log --oneline --all --graph --decorate` alias, I'm\n> usually immediately straining to figure out what's what, as the two\n> trees stack onto each other with no separation. It would be nice if\n> root commits used something other than *, and/or if they could be\n> colored differently by default, or via some option to make them stand\n> out as parent-less commits.\n> \n> Is this feasible, or already possible?\n\nHave you tried `git log --boundary`?\n"},{"id":"245177","messageId":"CALygMcDr2N2oyLOkVzE3XqAXu8DMSe_LhHXdL0QwN8W3JaV9zg@mail.gmail.com","threadId":"37026","inReplyTo":"20140630080829.GB13153@serenity.lan","subject":"Re: `git log --graph` with multiple roots is confusing","fromName":"Gary Fixler","fromEmail":"gfixler@gmail.com","sentAt":"2014-06-30T10:04:19Z","receivedAt":"2014-06-30T10:04:19Z","isPatch":false,"sender":{"key":"gfixler@gmail.com","avatar":null},"body":"I just made a new test repo, added and fetched two unrelated repos,\nand then did the log view (all/graph/decorate/oneline), and tacked on\n--boundary, but saw no change. The root commits looked the same.\n\n-g\n\n\nOn Mon, Jun 30, 2014 at 1:08 AM, John Keeping <john@keeping.me.uk> wrote:\n> On Sun, Jun 29, 2014 at 11:40:40PM -0700, Gary Fixler wrote:\n>> I sometimes pull things in from unrelated repositories to rebase or\n>> cherry-pick items from a different line of development. I've done this\n>> to bring isolated features into a project in their own feature\n>> branches with their full development histories, and also to extract\n>> lines of development out to their own project, with their histories\n>> intact. These are usually not connected commits, but things I have to\n>> track down across time with `git log -S` and friends.\n>>\n>> When I `git remote add otherrepo <url>`, then view things with my\n>> aliased `git log --oneline --all --graph --decorate` alias, I'm\n>> usually immediately straining to figure out what's what, as the two\n>> trees stack onto each other with no separation. It would be nice if\n>> root commits used something other than *, and/or if they could be\n>> colored differently by default, or via some option to make them stand\n>> out as parent-less commits.\n>>\n>> Is this feasible, or already possible?\n>\n> Have you tried `git log --boundary`?\n"},{"id":"245577","messageId":"20140709065145.GB14682@sigill.intra.peff.net","threadId":"37026","inReplyTo":"CALygMcDr2N2oyLOkVzE3XqAXu8DMSe_LhHXdL0QwN8W3JaV9zg@mail.gmail.com","subject":"Re: `git log --graph` with multiple roots is confusing","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2014-07-09T06:51:45Z","receivedAt":"2014-07-09T06:51:45Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Mon, Jun 30, 2014 at 03:04:19AM -0700, Gary Fixler wrote:\n\n> I just made a new test repo, added and fetched two unrelated repos,\n> and then did the log view (all/graph/decorate/oneline), and tacked on\n> --boundary, but saw no change. The root commits looked the same.\n\nThere was some discussion a while back on making root commits more\napparent in the graph view:\n\n  http://article.gmane.org/gmane.comp.version-control.git/239580\n\nThat topic has stalled, but perhaps you can help push it forward.\n\n-Peff\n"},{"id":"245579","messageId":"CACsJy8D4NeDjwkTw=Mpy16vjRhLzPXU55yhG_z+oQwC-82FF4A@mail.gmail.com","threadId":"37026","inReplyTo":"20140709065145.GB14682@sigill.intra.peff.net","subject":"Re: `git log --graph` with multiple roots is confusing","fromName":"Duy Nguyen","fromEmail":"pclouds@gmail.com","sentAt":"2014-07-09T07:16:30Z","receivedAt":"2014-07-09T07:16:30Z","isPatch":false,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"On Wed, Jul 9, 2014 at 1:51 PM, Jeff King <peff@peff.net> wrote:\n> On Mon, Jun 30, 2014 at 03:04:19AM -0700, Gary Fixler wrote:\n>\n>> I just made a new test repo, added and fetched two unrelated repos,\n>> and then did the log view (all/graph/decorate/oneline), and tacked on\n>> --boundary, but saw no change. The root commits looked the same.\n>\n> There was some discussion a while back on making root commits more\n> apparent in the graph view:\n>\n>   http://article.gmane.org/gmane.comp.version-control.git/239580\n>\n> That topic has stalled, but perhaps you can help push it forward.\n\nGrafted commits are marked --decorate, so perhaps another (simpler)\nroute to make root commits stand out is decorate them.\n-- \nDuy\n"}]}