summaryrefslogtreecommitdiff
path: root/walk.go
diff options
context:
space:
mode:
authorIan Lance Taylor <[email protected]>2016-02-16 21:06:45 -0800
committerIan Lance Taylor <[email protected]>2016-02-16 21:06:45 -0800
commitb70973e5c71b12f7ac42467d6b409ab4c7467dbd (patch)
tree7f9086ead1f262a5e626d44c0d41551148426a61 /walk.go
parent42b11d403d91e25754fe60c63c26371fbb7a89a9 (diff)
parent55594814c9009f9d645aea39a9f917cf82666228 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'walk.go')
-rw-r--r--walk.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/walk.go b/walk.go
index c314f60..60e618d 100644
--- a/walk.go
+++ b/walk.go
@@ -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))
}