jesseduffield / jesseduffield/lazygit

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

Open
#4,991 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

### 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.