Wrong graph output of 'git log --graph --date-order --all' command

From: Igevorse Otonnoleare <hidden>
Date: 2016-06-15 23:05:37

Hello.
Command:
git log --graph --date-order --all
Tested in 2.0.0.rc2, 2.1.4 and latest
master(cbed29f37b690e0a497bd2b6ca9a5bdd7e6ea5aa Git 2.5.0-rc1)
Importance: some software that works with generated tree could crash.
(For example, https://github.com/bluef/gitgraph.js crashes)

When I execute this command, I get a wrong graph:

root@Repserv# git log --graph --date-order --all --pretty=oneline |
grep Versioning --context=5
 1:| | | | | | | | | | | *   28935fe44c21117970d229a813612b03fc373304
Merge branch 'stable' into EditFinPlan
 2:| | | | | | | | | | | |\
 3:| | | | | | | | | | |/ /
 4:| |_|_|_|_|_|_|_|_|_| /      <--- Here it is
 5:|/| | | | | | | | | |
 6:* | | | | | | | | | |   4ebbb6d9af1db1ddeb7a9bee120ba62d3f6ca92d
Merge branch 'Versioning' into stable
 7:|\ \ \ \ \ \ \ \ \ \ \
 8:| * | | | | | | | | | | 9cafe4d5c9fa6231fc99613e183c5d1620c36624
Обновил GitVersion - захардкодил
 9:| * | | | | | | | | | | c388f7ea6bc59e9c908b14fb8b81ad06c8d0bfd8 Обновил хук
10:| * | | | | | | | | | | e2f94b3978b7eb9e7d6ed6bce9c7741f99fc0f16
Новый формат версии выводится на главной
11:| * | | | | | | | | | | 7184b727e024ba298f78f92626e7c9d5c630d806
Additional version to assembly

Take a look at the line 4: new line starts from nowhere, although it
is a part of other branch.

Here are correct outputs of 'git log' with other parameters:

root@Repserv# git log --graph --all --pretty=oneline | grep Versioning
--context=5
| | | | | | | | | | | | | | | * |
3c183e987ba101c62a4a52ee1314d5461cc3fc78 Merge branch 'stable' of
//10.0.0.92/ER into EditFinPlan
| | | | | | | | | | | | | | | |\ \
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ /
|/| | | | | | | | | | | | | | | /
| | | | | | | | | | | | | | | |/
* | | | | | | | | | | | | | | |
4ebbb6d9af1db1ddeb7a9bee120ba62d3f6ca92d Merge branch 'Versioning'
into stable
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | |
9cafe4d5c9fa6231fc99613e183c5d1620c36624 Обновил GitVersion -
захардкодил
| * | | | | | | | | | | | | | | |
c388f7ea6bc59e9c908b14fb8b81ad06c8d0bfd8 Обновил хук
| * | | | | | | | | | | | | | | |
e2f94b3978b7eb9e7d6ed6bce9c7741f99fc0f16 Новый формат версии выводится
на главной
| * | | | | | | | | | | | | | | |
7184b727e024ba298f78f92626e7c9d5c630d806 Additional version to
assembly

root@Repserv# git log --graph  --pretty=oneline | grep Versioning --context=5
|\
| *   74adc31c6c08a0d3524a6ed1bebeb7f6c79447d7 Merge branch 'stable'
of //10.0.0.92/ER.git into 196_ErrorOnSaveSessionRegBuilding
| |\
* | \   4d06b0cea208865b983ce3b678276d28d51d5fc8 Merge branch 'stable'
|\ \ \
| * \ \   4ebbb6d9af1db1ddeb7a9bee120ba62d3f6ca92d Merge branch
'Versioning' into stable
| |\ \ \
| | * | | 9cafe4d5c9fa6231fc99613e183c5d1620c36624 Обновил GitVersion
- захардкодил
| | * | | c388f7ea6bc59e9c908b14fb8b81ad06c8d0bfd8 Обновил хук
| | * | | e2f94b3978b7eb9e7d6ed6bce9c7741f99fc0f16 Новый формат версии
выводится на главной
| | * | | 7184b727e024ba298f78f92626e7c9d5c630d806 Additional version
to assembly


root@Repserv# git log --graph --date-order  --pretty=oneline | grep
Versioning --context=5
*   121a658305e26386b946a4eac194514ba7dfa827 Merge remote-tracking
branch 'origin/196_ErrorOnSaveSessionRegBuilding'
|\
* \   4d06b0cea208865b983ce3b678276d28d51d5fc8 Merge branch 'stable'
|\ \
| * \   4ebbb6d9af1db1ddeb7a9bee120ba62d3f6ca92d Merge branch
'Versioning' into stable
| |\ \
| | * | 9cafe4d5c9fa6231fc99613e183c5d1620c36624 Обновил GitVersion -
захардкодил Eregion.Web/App_code/AssemblyInfo.cs
| | * | c388f7ea6bc59e9c908b14fb8b81ad06c8d0bfd8 Обновил хук
| | * | e2f94b3978b7eb9e7d6ed6bce9c7741f99fc0f16 Новый формат версии
выводится на главной
| | * | 7184b727e024ba298f78f92626e7c9d5c630d806 Additional version to assembly


Feel free to write me if you need additional information.
Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help