Add a revwalk to the writer. This will add all the commits from the revwalk to the commit-graph.
The writer.
The git_revwalk.
0 or an error code