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

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

From
JTJosh Tepper <josh@clarifai.com>
Date
Feb 21, 2018, 23:56 UTC
Message-ID
<CAPFeJUBZCZ2RxzZrF3Nd+rBBRhERpQV3ka6a6r+yMfk=gEg8gQ@mail.gmail.com>
In-Reply-To
<CAPFeJUA=7NyZZxkjpYjoRiXTb1WA1cQ-dYsn_XykMYt=iWGKOA@mail.gmail.com>
TYPO IN EXPECTED OUTPUT.

To avoid inevitable confusion, creating new thread "Bug: git log: boundary commits do not respect order (e.g. date-order, topo-order) 2".

DON'T REPLY TO THIS MESSAGE.  Instead reply to the new message
On Wed, Feb 21, 2018 at 6:28 PM, Josh Tepper <josh@clarifai.com> wrote:
Show 25 quoted lines
> 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 -7 -1
>
> Please advise.
>
> Best,
> ~Josh
Previous: Josh Tepper
Message 2 of 2 in “Bug: git log: boundary commits do not respect order (e.g. date-order, topo-order)”
  1. Josh TepperFeb 21, 2018
  2. Josh TepperFeb 21, 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.