I have a project that uses git for its source control and I use SmartGit as the GUI.
Recently when adding new files to the project they're being ignored by git (this has only started happening in the last week or so before that it was fine).
So if I add a new file into the hierarchy it doesn't show up in the SmartGit GUI.
If I type git status into git then nothing comes up.
If I type git status --ignored into git then it lists the file I had added.
If I type git add -f filename then it adds the file and it shows up in SmartGit.
I've checked my .gitignore file and it has nothing unusual in it.
I don't have a global .gitignore. I do have an exclude file but it is referencing a subdirectory and had been working fine long before this problem showed up.
Any ideas why git should think all new files are ignored even when they aren't referenced in a .gitignore file?