summaryrefslogtreecommitdiff
path: root/branch.go
diff options
context:
space:
mode:
Diffstat (limited to 'branch.go')
-rw-r--r--branch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/branch.go b/branch.go
index 6f79825..217b877 100644
--- a/branch.go
+++ b/branch.go
@@ -73,7 +73,7 @@ func (i *BranchIterator) ForEach(f BranchIteratorFunc) error {
}
}
- if err != nil && IsErrorCode(err, ErrIterOver) {
+ if err != nil && IsErrorCode(err, ErrorCodeIterOver) {
return nil
}