libgit2/libgit2 — pull request #2380 by carlosmn (2014-05-22 14:02:13+00:00)
Title: index: check for valid filemodes on add

I noticed that we don't check for this, which can lead to invalid filemodes being written out to disk.