diff options
| author | Orivej Desh <[email protected]> | 2016-02-07 03:12:35 +0000 |
|---|---|---|
| committer | Orivej Desh <[email protected]> | 2016-02-07 03:15:40 +0000 |
| commit | b876e836fa76747b34832f42c354934854601f7d (patch) | |
| tree | fcc7e3984dbb107fd8c45e3c4a1db7253bc9ca05 /walk.go | |
| parent | 2e17c3d55f675f40303e92f001d9cacbb6f827b7 (diff) | |
Add RevWalk.SimplifyFirstParent()
Diffstat (limited to 'walk.go')
| -rw-r--r-- | walk.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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)) } |
