libgit2/libgit2 — pull request #896 by ben (2012-08-25 16:59:06+00:00)
Title: Revparse: GIT_EAMBIGUOUS

Revparse now returns EAMBIGUOUS if the the spec doesn't match any refs/tags, and is <4 characters.

/cc @nulltoken