libgit2/pygit2 — pull request #74 by carlosmn (2012-02-29 16:18:26+00:00)
Title: Support short OIDs

It's a bit more expensive than if the library exposed this operation, but I'm going to declare that if you're asking about an object, you'll probably use it in the near future anyway and loading the object in the cache is not wasted time.

I'm not sure how to represent `GIT_EAMBIGUOUS` as a python error. Ideas?