My personal preference is to not put non-project-specific patterns such as these in the .gitignore, and to keep it as minimal as possible. My reasoning is that it would then be logical to add many other patterns for other editors and tools (like .tags), and I very much dislike unexpectedly finding that a random file was git-ignored. Also, you could add the pattern for your preferred editor to your global $HOME/.config/git/ignore or wherever you like if you set git config -g core.excludesfile $FILE.
All that said, I'm not the main maintainer of statsdaemon, and I won't veto this, it's pretty minor.
My personal preference is to not put non-project-specific patterns such as these in the
.gitignore
, and to keep it as minimal as possible. My reasoning is that it would then be logical to add many other patterns for other editors and tools (like .tags), and I very much dislike unexpectedly finding that a random file was git-ignored. Also, you could add the pattern for your preferred editor to your global$HOME/.config/git/ignore
or wherever you like if you setgit config -g core.excludesfile $FILE
.All that said, I'm not the main maintainer of statsdaemon, and I won't veto this, it's pretty minor.