libgit2/libgit2 — pull request #998 by nulltoken (2012-10-18 22:06:10+00:00)
Title: Enhance test coverage

- Ensure GIT_EBAREPO is returned when calling the following against a bare repository:
- `git_diff_workdir_to_index()`
- `git_diff_workdir_to_tree`
- `git_status_file()` (should also work for `git_status_foreach()` and `git_status_foreach_ext()` but this is currently not covered)

- Add some more funny cases to reference name validity checking