Lookup a tree entry by SHA value.
This returns a git_tree_entry that is owned by the git_tree. You don't have to free it, but you must not use it after the git_tree is released.
Warning: this must examine every entry in the tree, so it is not fast.
a previously loaded tree.
the sha being looked for
the tree entry; null if not found
See Implementation
Lookup a tree entry by SHA value.
This returns a git_tree_entry that is owned by the git_tree. You don't have to free it, but you must not use it after the git_tree is released.
Warning: this must examine every entry in the tree, so it is not fast.