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

Re: Commit graph not using minimal number of columns

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 26, 2023, 17:43 UTC
Message-ID
<xmqqwn1ysfo4.fsf@gitster.g>
In-Reply-To
<eb1c6c62-1081-a9d2-8504-db8bffc6c870@github.com>
Derrick Stolee <derrickstolee@github.com> writes:
> To adapt this algorithm to a newer, dynamic ordering that cares about
> minimizing the rendered graph, I don't think changing the priority
> queue comparison would be sufficient. Something deeper would be
> required and would be quite messy.
Oh, I wasn't thinking about "graph-friendly" at all.  

I was wondering if we replaced --date-order implementation with corrected commit date from the generation number work would give us a better output order that users would expect in general (with or without --graph).

Previous: Derrick StoleeNext: Derrick Stolee
Message 6 of 8 in “Commit graph not using minimal number of columns”
  1. Javier MoraApr 25, 2023
  2. Junio C HamanoApr 25, 2023
  3. Derrick StoleeApr 26, 2023
  4. Junio C HamanoApr 26, 2023
  5. Derrick StoleeApr 26, 2023
  6. Junio C HamanoApr 26, 2023
  7. Derrick StoleeApr 27, 2023
  8. Junio C HamanoApr 27, 2023

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.