Skip to content

Commit

Permalink
Fixing issue with error conversion.
Browse files Browse the repository at this point in the history
  • Loading branch information
nalanj committed Aug 4, 2016
1 parent 8eaae73 commit 380684b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion walk.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 380684b

Please sign in to comment.