From: Igevorse Otonnoleare <igevorse@gmail.com>
To: git@vger.kernel.org
Subject: Wrong graph output of 'git log --graph --date-order --all' command
Date: Thu, 2 Jul 2015 15:41:00 +0500 [thread overview]
Message-ID: <CADk_vu1rydigy4png-zuHfMbtrR8f-4fzZ-jdviYWYqfx4kGpg@mail.gmail.com> (raw)
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.
reply other threads:[~2015-07-02 10:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADk_vu1rydigy4png-zuHfMbtrR8f-4fzZ-jdviYWYqfx4kGpg@mail.gmail.com \
--to=igevorse@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).