Ignore files in `.git` and `.gitignore`
When I occasionally manually commit with Magit while git-auto-commit-mode is enabled, submitting the commit saves .git/COMMIT_EDITMSG, which seems to trigger git-auto-commit-mode's prompt for a message (since I have gac-ask-for-summary-p enabled). This also happens when modifying ignored files. If I enter a message, I get a warning that the file I tried to commit is ignored.
git-auto-commit-mode should probably ignore .git and ignored files by default, without the user having to set up local variables for every ignored file or subdirectory. Is this possible?
this feels like a bug; I would be willing to help fix this with a bit of guidance.
Oops! Definitely a bug. I'll have to take a look at what we're doing here. I'd prefer not to have an explicit case for ignoring anything in .git...
@chadhs I'd be happy to provide you with any guidance you need. First I need a refresher of what's going on myself :slightly_smiling_face:
I'll try and find some time to look, in the mean time @chadhs if you have any specific questions feel free to ask.