diff options
| author | Carlos Martín Nieto <[email protected]> | 2016-02-09 06:03:27 +0100 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2016-02-09 06:03:27 +0100 |
| commit | ae1de83894f0545416e848cb7dea708870d9f3b4 (patch) | |
| tree | 9b1bf45df99d4cfe480e065051a98f094050625a | |
| parent | 4a7794664e4fdce07f978f48aec9d151045bceae (diff) | |
| parent | b876e836fa76747b34832f42c354934854601f7d (diff) | |
Merge pull request #292 from orivej/git_revwalk_simplify_first_parent
Add RevWalk.SimplifyFirstParent()
| -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)) } |
