libgit2/libgit2 — pull request #1603 by ben (2013-05-23 22:15:22+00:00)
Title: Shallow-clone detection

This adds a simple call to detect a shallow clone. The test repository was made thusly:

```sh
libgit2/tests-clar/resources % git clone file://testrepo.git shallow.git --depth=2 --bare
```