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

Re: [RFC PATCH 0/1] Add lines to `git log --graph` to separate connected regions

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 8, 2024, 15:49 UTC
Message-ID
<xmqqy19netx1.fsf@gitster.g>
In-Reply-To
<xmqq4jcdivgw.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
Show 11 quoted lines
> True.  But because we are doing graph, shouldn't we be able to do
> better?  For example, you can draw the two lineage of histories
> on different columns and ...
>
>        * a2
>        * a1
>      * b2
>      * b1
>
> ... that way, you do not need to lose one line of precious vertical
> screen real estate.

Just to save others time to go spelunking in the list archive, "solutions" attempted and did not work in the past include

 (1) wasting a line to insert a "gap" in the output.
 (2) using marker different from '*' to mark each commit.

If taking the latter approach, it needs to designed to work well with "boundary" and "left-right" options (the design to shift column would not have to worry about these, which is another plus).

Thanks.
Previous: Dragan Simic
Message 15 of 15 in “Add lines to `git log --graph` to separate connected regions”
  1. 0/1 Add lines to `git log --graph` to separate connected regionsLê Duy Quang, Apr 7, 2024
  2. 1/1 Add separator lines into `git log --graph`.Lê Duy Quang, Apr 7, 2024
  3. Eric SunshineApr 7, 2024
  4. Eric SunshineApr 7, 2024
  5. Quang Lê DuyApr 7, 2024
  6. Dragan SimicApr 7, 2024
  7. Quang Lê DuyApr 7, 2024
  8. Eric SunshineApr 7, 2024
  9. Eric SunshineApr 7, 2024
  10. Junio C HamanoApr 7, 2024
  11. Quang Lê DuyApr 7, 2024
  12. Dragan SimicApr 7, 2024
  13. Quang Lê DuyApr 7, 2024
  14. Dragan SimicApr 7, 2024
  15. Junio C HamanoApr 8, 2024

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.