libgit2/libgit2 — pull request #1090 by arrbee (2012-11-20 00:50:08+00:00)
Title: Ignore invalid entries by default

Extending the idea in #1084, this puts "." ".." and ".git" into the default internal list of ignores so they will always be returned as ignores. This also has an improvement to the way that workdir iterators skip over ".git" entries automatically (which was slightly broken). Also, a minor performance improvement to the tree entry check from #1084.

Right now this doesn't categorically prevent those items from being added to the index. I can add that to the PR as well if people think it is the right thing to do...