-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
I want to use lazygit in a jj repo. I usually use the all commits view in the commit panel. Unfortunately jj creates a lot of refs under refs/jj/ so previous commits spam the view. Fortunately there is an easy fix:
Describe the solution you'd like
Lazygit uses the --all flag to show all the commits but this includes the refs/jj/* as well. To hide them, the --exclude arg can be used, in this case --exclude refs/jj/*.
I have 2 propositions, a specific for this exact case and a general one:
- general: add a new option to set the exclude param as the user wants, this would be a ref (string) list in the config
- specific to jj: add a 'hide-jj-refs' option that would result in the
--exclude refs/jj/*arg
I know that compatibility with non-git vcs-es is not a goal, but the exclude arg can be useful in other scenarios as well if that is more viable, but even the jj specific option would be a small change.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request