Set the git commit-graph for the ODB.
After a successful call, the ownership of the cgraph parameter will be transferred to libgit2, and the caller should not free it.
The commit-graph can also be unset by explicitly passing null as the cgraph parameter.
object database
the git commit-graph
0 on success; error code otherwise
See Implementation
Set the git commit-graph for the ODB.
After a successful call, the ownership of the cgraph parameter will be transferred to libgit2, and the caller should not free it.
The commit-graph can also be unset by explicitly passing null as the cgraph parameter.