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

Re: [PATCH] graph.c: visual difference on subsequent series

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 3, 2015, 17:13 UTC
Message-ID
<xmqq613rl92s.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<55E7FEF3.2020400@drmicha.warpmail.net>
Michael J Gruber <git@drmicha.warpmail.net> writes:
Show 6 quoted lines
>> Is the design of your independent implementation the same except
>> that 'o' is used instead of 'x'?  Independent implementation does
>> not make the same design magically better, if that is the case ;-)
>
> Interestingly, the patch to the tests lists * to o changes only, no < or
>> to o.

Well, in that case, then the opposite but an equivalent problem exists in the design, no? It promises to make roots stand out by painting them as 'o', but it sometimes fails to do so. In other words, ...

> The reason is simply that the patch doesn't change anything for left nor
> right commits. I would say that is the best compromise since it does not
> change the overall layout, provides more information by default and does
> not override information that is requested specifically.
... it fails your last criteria.
> If we want to put more information into log --graph simultaneously we
> should really go beyond ASCII and look at how tig does it, e.g. using
> unicode characters.

That's another way to do so, but shifting columns to show where the history is not connected also does not change the overall layout, provides more information by default, etc., and a big plus is that it would be an approach to do so without having to go beyond ASCII.

Previous: Michael J GruberNext: Michael J Gruber
Message 5 of 7 in “graph.c: visual difference on subsequent series”
  1. graph.c: visual difference on subsequent seriesAntoine Beaupré, Nov 10, 2014
  2. Antoine BeaupréJul 27, 2015
  3. Junio C HamanoJul 27, 2015
  4. Michael J GruberSep 3, 2015
  5. Junio C HamanoSep 3, 2015
  6. Michael J GruberSep 4, 2015
  7. Junio C HamanoSep 4, 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.