libgit2

git_revwalk_simplify_first_parent

Version:

Simplify the history by first-parent

No parents other than the first for each commit will be enqueued.

Signature

int git_revwalk_simplify_first_parent(git_revwalk *walk);

Parameters

In
walk

The revision walker.

Returns

int

0 or an error code

Versions