-
Notifications
You must be signed in to change notification settings - Fork 280
Closed
Labels
not-plannedIt's not planned in the futureIt's not planned in the future
Description
Problem
When dealing with large Git repositories that contains a lot of branches, it is very commun to get visual bottle necks when a lot of branches share the same parent commit and start to accumulate at one particular place in the graph.
Proposal
An option to merge the graph lanes that share the same parent.
It have two benefices :
- avoid lanes stacking
- greatly reduce the horizontal graph size
Such option would make a new branch to only appear when its first commit is created instead of going on without any useful information to give to the user.
Like so, the graph complexity is diluted and informations appears only where they are relevant.
Mockup
The only example of this feature I can think of is in GitExtensions :
On the left :
- The graph behave just like the one in SourceGit and the lanes are stacked at one place, where branches share a common parent.
- This produce a lot of visually empty branches that goes up until their first commit happen. But like so, they simply pollute the space without much information to give.
- Moreover, branches that starts earlier in the graph are trying to avoid this stack and therefore add more complexity to this area by agraving this behavior.
This is becoming hard to know at first glance which branch start on the previous commit or if it start at a lower level in the graph.
On the right :
- The setting is activated and produce a gradual split of branches along the original one. They only appear when their first commit is created.
- Notice how much the horizontal graph size is reduced, and so, without losing any information.
SourceGit for reference :
As always, thanks a lot for your hard work !!
Metadata
Metadata
Assignees
Labels
not-plannedIt's not planned in the futureIt's not planned in the future