Skip to content

QuickView: don't walk into child branches when navigating to more recent commits #2766

@ThomasSevestre

Description

@ThomasSevestre

Description

When navigating forward (to more recent commits) in QuickView, the descendant walker follows all children of the current commit. If a commit has multiple children (e.g., someone branched off from it), navigation walks into those child branches instead of staying on the current branch.

Expected behavior

When navigating forward, only follow the child that is a continuation of the current branch — i.e., the child whose first parent is the current commit. Children whose first parent is a different commit (meaning they were started as a new branch from here) should be skipped.

I can propose a PR if you are willing to add the feature. Would it be the default behavior or should it be configurable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions