libgit2

git_revwalk_push_range

Version:

Push and hide the respective endpoints of the given range.

The range should be of the form

<commit>.. <commit> where each <commit> is in the form accepted by 'git_revparse_single'. The left-hand commit will be hidden and the right-hand commit pushed.

Signature

int git_revwalk_push_range(git_revwalk *walk, const char *range);

Parameters

In
walk

the walker being used for the traversal

const char *
In
range

the range

Returns

int

0 or an error code

Versions