Skip to content

Filter a sub-set of branches in the Commits panel (panel 4) #4991

@raminudelman

Description

@raminudelman

Is your feature request related to a problem? Please describe.

The problem I want to solve is the view I see in the Commits panel (panel 4).

In large repos, with many branches, it's common to work on some particular (sub-)set of branches and these are the only branches it's useful to see in that panel.

For now, there is only an option to filter the commits of the current branch or all the branches in the repo - it's not possible to specify a subset of branches to filter in that panel.

Describe the solution you'd like

In a way, a solution similar to allBranchesLogCmds could work, even though not ideal, this can be a start. Something more interactive like a keybinding that allows inserting a regex or something can be better and this can be developed further.

I can discuss here more about possible solutions if such feature request makes sense to you.

Describe alternatives you've considered

I didn't find any alternative for this issue in lazygit. The only alternative, and this is what I currently use is VS-Code which allows this exact functionality out-of-the-box in the graph pane.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions