summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Johnson <[email protected]>2016-08-29 09:10:56 -0400
committerGitHub <[email protected]>2016-08-29 09:10:56 -0400
commit208cdaef7687dcb05294833c84f50031a45aa5a1 (patch)
tree4661e3075177c49f9a0b54fd6af0f5bac511ff9e
parent380684bb107cd23d9baae15be330954e04fa088b (diff)
Removes redundant iteration over check.
-rw-r--r--walk.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/walk.go b/walk.go
index a64934a..ab1de61 100644
--- a/walk.go
+++ b/walk.go
@@ -173,10 +173,6 @@ func (v *RevWalk) Iterate(fun RevWalkIterator) (err error) {
return nil
}
if err != nil {
- if err.(*GitError).Code == ErrIterOver {
- err = nil
- }
-
return err
}