Lookup a blob object from a repository, given a prefix of its identifier (short id).
pointer to the looked up blob
the repo to use when locating the blob.
identity of the blob to locate.
the length of the short identifier
0 on success; error code otherwise