libgit2/pygit2 — pull request #397 by carlosmn (2014-07-26 13:14:23+00:00)
Title: oid: do not load the object when expanding

We now have a function which lets us expand an id prefix by checking for
existence and uniqueness instead of loading the object with that id.

---

Ofen we're going to load the object immediately after so the difference would end up being a shift in where we spend the time loading it, but I think it's still worth trying to avoid work where it doesn't belong.