chickadee » git » tree-entry->object

(tree-entry->object [repository] tree-entry) => objectprocedure

Returns an object of type tree or blob from the given tree-entry and repository, which must be the owner of the tree-entry.

If no repository is given, tree-entry->object will attempt to determine the owning repository from the tree-entry. This is only possible if the tree-entry belongs to a tree; if it belongs to a tree-builder, instead, an error will be signaled.