summaryrefslogtreecommitdiff
path: root/walk.go
diff options
context:
space:
mode:
authorAlan Johnson <[email protected]>2016-08-04 09:43:44 -0400
committerAlan Johnson <[email protected]>2016-08-04 09:43:44 -0400
commit380684bb107cd23d9baae15be330954e04fa088b (patch)
treebb82098d3e993a46b9a7defbb9f9d76c8d314a58 /walk.go
parent8eaae73f85dd3df78df80d2dac066eb0866444ae (diff)
Fixing issue with error conversion.
Diffstat (limited to 'walk.go')
-rw-r--r--walk.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/walk.go b/walk.go
index 60e618d..a64934a 100644
--- a/walk.go
+++ b/walk.go
@@ -173,7 +173,7 @@ func (v *RevWalk) Iterate(fun RevWalkIterator) (err error) {
return nil
}
if err != nil {
- if err.(GitError).Code == ErrIterOver {
+ if err.(*GitError).Code == ErrIterOver {
err = nil
}