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

Re: [bug] Graph log and orphan branches

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 30, 2015, 21:24 UTC
Message-ID
<xmqqa8oreijr.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<1451508209.9251.13.camel@kaarsemaker.net>
Dennis Kaarsemaker <dennis@kaarsemaker.net> writes:
Show 16 quoted lines
> On wo, 2015-12-30 at 11:54 -0800, Junio C Hamano wrote:
>> Carlos Pita <carlosjosepita@gmail.com> writes:
>> 
>> > the graph output of log show orphan branches in a way that suggests
>> > they have a parent.
>> 
>> Reminds me of this ancient RFH topic
>> 
>>   http://thread.gmane.org/gmane.comp.version-control.git/236708/focus
>> =239580
>> 
>> which unfortunately got no help...
>
> Instead of a blank line, why not something like this to make root
> commits stand out a bit?
>

That approach will lose information when a root commit is at the boundary, marked as uninteresting, or on the left/right side of traversal (when --left-right is requested). As these pieces of information that will be lost with such an approach are a lot more relevant than "have we hit the root?", especially in the majority of repositories where there is only one root commit, I do not think it is acceptable.

Previous: Carlos Pita
Message 6 of 6 in “[bug] Graph log and orphan branches”
  1. Carlos PitaDec 30, 2015
  2. Carlos PitaDec 30, 2015
  3. Junio C HamanoDec 30, 2015
  4. Dennis KaarsemakerDec 30, 2015
  5. Carlos PitaDec 30, 2015
  6. Junio C HamanoDec 30, 2015

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.