libgit2/libgit2 — pull request #1060 by nulltoken (2012-11-10 20:14:04+00:00)
Title: Topic/explicit index errors

Four tiny fixes.

Most important ones being:
- Making `git_index_new()` actually work
- Making `git_index_add_from_workdir()` return `EBAREREPO` when the repository is... bare