libgit2

git_commit_parent_callback

Version:

Callback function to return parents for commit.

This is invoked with the count of the number of parents processed so far along with the user supplied payload. This should return a git_oid of the next parent or NULL if all parents have been provided.

Signature

typedef int git_commit_parent_callback(size_t , void *);

Parameters

size_t
In
void *
In

Parameter To

Versions