New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excluding a file in a worktree does not work #3489
Comments
It was fixed by #3432, if you need it before the next release please try building from source. |
Did you really get it to work with exclude? I'm actually surprised because in the last 5 min I've just tried doing it by manually editing |
Judging by the code diff that's what exactly what we're doing, which I see now might not be entirely aligned with "worktree exclude". There's this SO answer that mentions there isn't a |
Describe the bug
The folder is a worktree
d:\checkouts\foo\worktrees\wt2
and the main repo is:\checkouts\foo
I move the cursor to a file I wish to exclude. I press i then I press e. An error appears
there is no
d:\checkouts\moduleworks\worktrees\wt2\.git
folder but there is ad:\checkouts\moduleworks\.git\worktrees\wt2
where an exclude file for worktrees should live. I think the exclude command is just not worktree awareThe text was updated successfully, but these errors were encountered: