libgit2/libgit2sharp — pull request #272 by Saaman (2012-12-12 09:56:55+00:00)
Title: Ensure Diff.Compare() cannot apply on a bare repository

Doing a `Diff.Compare()` should not be allowed on a Bare repository.
I wrote the unit test, and it seems to work as expected : it throws a `BareRepositoryException`