@param out_ buffer that receives a pointer to the object (which must be freed
by the caller)
@param treeish root object that can be peeled to a tree
@param path relative path from the root object to the desired object
@param type type of object desired
@return 0 on success, or an error code
Lookup an object that represents a tree entry.
@param out_ buffer that receives a pointer to the object (which must be freed by the caller) @param treeish root object that can be peeled to a tree @param path relative path from the root object to the desired object @param type type of object desired @return 0 on success, or an error code