Skip to content

Commit

Permalink
Add RevWalk.SimplifyFirstParent()
Browse files Browse the repository at this point in the history
  • Loading branch information
orivej committed Feb 7, 2016
1 parent 2e17c3d commit b876e83
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions walk.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit b876e83

Please sign in to comment.