Skip to content

Hiding refs by pattern (to reduce git-branchless spam)? #1160

@nyanpasu64

Description

@nyanpasu64

Installing git-branchless has resulted in it labeling large numbers of commits with meaningless refs which clutter the tig view. Is it possible to hide certain refs from tig by a regex/glob pattern?

Screenshot_20211026_180119

I looked at https://jonas.github.io/tig/doc/tigrc.5.html#_variables, and it seems the closest you can get is hide:, but you can't hide branches and unknown refs separately, nor can you hide refs/stash and refs/branchless separately if you want.

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