libgit2/libgit2 — pull request #456 by brodie (2011-10-13 00:50:10+00:00)
Title: Create objects, indexes, and directories with the right file permissions

These two commits fix certain files being created with 0600 permissions instead of 0444 permissions, and it fixes directories being created with 0755 permissions instead of 0777 permissions.

See the individual commits for more information. I've made them against master with the idea that they can be rolled into a 0.15.1 stable release.