Bug: git log: boundary commits do not respect order (e.g. date-order, topo-order) 2
- From
- Josh 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 <--BExecuting 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