summaryrefslogtreecommitdiff
path: root/index.go
diff options
context:
space:
mode:
authorJesse Ezell <[email protected]>2014-04-04 00:50:41 -0700
committerJesse Ezell <[email protected]>2014-04-04 00:50:41 -0700
commitfc999289a2f4855dec72d52d360319362a2360a1 (patch)
treef65f3cce0db4003a35c50e4df297b9ae42622f60 /index.go
parent39f59d921b7acc0bea40e1cadb7fb7bceabfbc6e (diff)
parent8982f4b3be90a04b0fad24da1ee6d85b1caad336 (diff)
Merge branch 'oid-parse-protection' into branch-iterator
Diffstat (limited to 'index.go')
-rw-r--r--index.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/index.go b/index.go
index d3178a2..f20dc31 100644
--- a/index.go
+++ b/index.go
@@ -266,10 +266,6 @@ func (v *IndexConflictIterator) Next() (IndexConflict, error) {
defer runtime.UnlockOSThread()
ecode := C.git_index_conflict_next(&cancestor, &cour, &ctheir, v.ptr)
- if ecode == C.GIT_ITEROVER {
- return IndexConflict{}, ErrIterOver
- }
-
if ecode < 0 {
return IndexConflict{}, MakeGitError(ecode)
}