libgit2

git_commit_set_tree

Version:

Set the tree which is pointed to by a commit

Signature

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

Parameters

In
commit

the commit object

In
tree

the new tree

Returns

int

Versions