Add RevWalk.SimplifyFirstParent()

This commit is contained in:
Orivej Desh 2016-02-07 03:12:35 +00:00
parent 2e17c3d55f
commit b876e836fa
1 changed files with 4 additions and 0 deletions

View File

@ -194,6 +194,10 @@ func (v *RevWalk) Iterate(fun RevWalkIterator) (err error) {
return nil
}
func (v *RevWalk) SimplifyFirstParent() {
C.git_revwalk_simplify_first_parent(v.ptr)
}
func (v *RevWalk) Sorting(sm SortType) {
C.git_revwalk_sorting(v.ptr, C.uint(sm))
}