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

2 messages from 2018-02-21 to 2018-02-21. Participants: Josh Tepper.
Thread: https://gitlist.dev/t/47896

## Josh Tepper, 2018-02-21 23:28

Subject: Bug: git log: boundary commits do not respect order (e.g. date-order, topo-order)
Message-ID: <CAPFeJUA=7NyZZxkjpYjoRiXTb1WA1cQ-dYsn_XykMYt=iWGKOA@mail.gmail.com>
URL: https://gitlist.dev/e/CAPFeJUA%3D7NyZZxkjpYjoRiXTb1WA1cQ-dYsn_XykMYt%3DiWGKOA%40mail.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 -7 -1

Please advise.

Best,
~Josh

```

## Josh Tepper, 2018-02-21 23:56

Subject: Re: Bug: git log: boundary commits do not respect order (e.g. date-order, topo-order)
Message-ID: <CAPFeJUBZCZ2RxzZrF3Nd+rBBRhERpQV3ka6a6r+yMfk=gEg8gQ@mail.gmail.com>
URL: https://gitlist.dev/e/CAPFeJUBZCZ2RxzZrF3Nd%2BrBBRhERpQV3ka6a6r%2ByMfk%3DgEg8gQ%40mail.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:
> 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

```
