oppiliappan / statix

lints and suggestions for the nix programming language
https://git.peppe.rs/languages/statix/about
MIT License
552 stars 21 forks source link

Ignore file in `.git/info/exclude` #84

Open xanderio opened 5 months ago

xanderio commented 5 months ago

This file is simular to .gitignore except that is isn't part of the worktree and and only a repository local configuration.

The git configuration option core.excludesFile also point to a file contain ignore patterns and defaults if not set to $XDG_CONFIG_HOME/git/ignore

Documentation about this: https://git-scm.com/docs/gitignore

I've hitting this issue when trying to work with multiple git worktrees which are contains in a .worktree folder in the "parent" repository worktree.