libgit2

git_commit_set_tree

Version:

Set the tree which is pointed to by a commit

Signature

void git_commit_set_tree(git_commit *commit, git_tree *tree);

Parameters

In
commit

the commit object

In
tree

the new tree

Versions