We are currently struggling with commit graphs which look like these:
We found that if you click on the column header we can choose "Chronological reversed" and everything looks fine to us. Unfortunately tortoise git applies --topo-order as default which causes the commit pyramid.
Is there a way to set "Chronological revesed" as the default value?
-
My advice, don't use tortoise git. Tortoise is designed for CVS/SVN not GIT (no matter what the docs say). Use something like GIT Extensions instead.Liam– Liam2017年10月20日 15:03:42 +00:00Commented Oct 20, 2017 at 15:03
2 Answers 2
Just click the HEADER of the commit list, then the Log commit ordering dialog will be popup. Select the ordering you want from there.
Here is the example for selecting Chronological revesed:
[NOTE] It's global setting, so this affects all new opened Log Message dialog.
1 Comment
While there appears to be a setting according to the documentation:
apply --topo-order
Normally log entries/commits are ordered in descending order of the commit date. '--topo-order' makes the commits appear in topological order (i.e. descendant commits are shown before their parents). Not using this option, might break the graph in the log dialog. However, this option is slower, because all log entries have to be processed before displaying them.
Neither the screenshot on that page for "Dialogs 1" settings nor does the current version show a corresponding checkbox for this and I'm not seeing any other mentions of this online.
It looks like there may be some code that checks for a setting, but no way to set it: Showing 1 - 16 of 16 blobs for "--topo-order" in project TortoiseGit / TortoiseGit