Skip to content

Active branch not shown on graph if too many other commits #1293

@Hirse

Description

@Hirse

When opening large repositories, it can easily happen that there are more new commits on other branches than the current initial display limit for graph nodes (25 as far as I can tell).
If the latest commit on the current branch is not within this limit, that branch is not shown at all causing a bit of a broken layout.

Screenshots for better explanation:
Actual:
image

Expected:
image

To reproduce, clone my fork, stay on "master" branch and observe the "empty" branch to take up all the available commit graph nodes.

This seems to be somewhat related to the ongoing effort by @campersau and @jung-kim of optimizing for very large repositories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions