libgit2

git_commit_tree

Version:

Get the tree pointed to by a commit.

Signature

const git_tree *git_commit_tree(git_commit *commit);

Parameters

In
commit

a previously loaded commit.

Returns

the tree of a commit

Versions