summaryrefslogtreecommitdiff
path: root/walk.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2015-09-18 10:52:37 +0200
committerCarlos Martín Nieto <[email protected]>2015-09-18 10:52:37 +0200
commit0522886781055d59b780e00fddf3c8f7c9e118dc (patch)
tree797b7644292addcd518dbfea092aa9f3fd1e1e6c /walk.go
parentb3e7705c48f038ef335204a2a9e1ee829784c30e (diff)
parentebf7f15bf9c585102b1c39f6bec5f61a37d18802 (diff)
Merge remote-tracking branch 'origin/master' into next
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 d02044a..c314f60 100644
--- a/walk.go
+++ b/walk.go
@@ -173,6 +173,10 @@ func (v *RevWalk) Iterate(fun RevWalkIterator) (err error) {
return nil
}
if err != nil {
+ if err.(GitError).Code == ErrIterOver {
+ err = nil
+ }
+
return err
}