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

git-rev-list --date-order ?

From
Paul Mackerras <paulus@samba.org>
Date
Feb 16, 2006, 02:40 UTC
Message-ID
<17395.58926.26670.23572@cargo.ozlabs.ibm.com>
Junio,

Gitk has a -d option that tells it to reorder the commits in decreasing order of their commit time, subject to the constraint that parents come after all of their children. Currently it uses git-rev-list --header --topo-order --parents and then reorders the commits internally.

How hard would it be to add a --date-order flag to git-rev-list to make it order the commits in decreasing commit time order, subject to the constraint that parents come after their children?

If we had that then I could remove another chunk of code from gitk and make it a bit faster.

Thanks, Paul.

Next: Junio C Hamano
Message 1 of 3 in “git-rev-list --date-order ?”
  1. Paul MackerrasFeb 16, 2006
  2. Junio C HamanoFeb 16, 2006
  3. topo-order: make --date-order optional.Junio C Hamano, Feb 16, 2006

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.