If I have the option "auto-add files to project", it should ignore files that are in the "directories to ignore" specification of the projectviewer reimport options.
Currently, it auto-adds files like .git/COMMIT_EDITMSG which it should not ever add to the project.
Let me clarify. The option is "importing new files" and the radio button chosen is "auto import"
I tried adding !COMMIT_EDITMSG to the "files to import", and it is also not considered during auto-import.
looked at the code involved. ProjectViewer line 1251. Now that is what I call ugly-ass code!
And probably must be cleaned up or refactored somehow in order to implement this.
Yes, that does look like a good candidate for refactoring.
Ugh.