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

Bug: git log: boundary commits do not respect order (e.g. date-order, topo-order) 2

From
JTJosh Tepper <josh@clarifai.com>
Date
Feb 21, 2018, 23:57 UTC
Message-ID
<CAPFeJUAF99buo=yTZQeHawU-npLHk0iJ1iQxYwMroFdDcKhqjA@mail.gmail.com>

When using git log, boundary commits (ie, those commits added by specifying --boundary) do not respect the order (e.g., --date-order, --topo-order). Consider the following commit history, where number indicates the order of the commit timestamps:

<view with a fixed with font! 3's ancestor is 1, 6's ancestors are 4,5>
0----1----2----5  <--A
       \         \
         3----4----6  <--B
Executing the following command:
$ git log --boundary --date-order ^A B

Should produce the following order (boundary commits shown with dashes): 6 -5 4 3 -1

However, it in fact produces: 6 4 3 -5 -1

Please advise.

Best, ~Josh

Next: Derrick Stolee
Message 1 of 3 in “Bug: git log: boundary commits do not respect order (e.g. date-order, topo-order) 2”
  1. Josh TepperFeb 21, 2018
  2. Derrick StoleeFeb 22, 2018
  3. Josh TepperMar 1, 2018

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.