Skip to content

In non main worktree git/info/exlude is ignored. #2876

@funny-falcon

Description

@funny-falcon

I have huge repo (postgresql) and many worktrees for it (to not clone each time for each task).

Each worktree hash .cache/clangd folder (for clangd LSP).

Therefore .cache is added to .git/info/exclude .

It is honored by gitui when I run it in main worktree (which contains real .git folder), but it is ignored when gitui is running in other worktrees (where .git is just text file with path to real .git).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions