summaryrefslogtreecommitdiff
path: root/index.go
diff options
context:
space:
mode:
authorJesse Ezell <[email protected]>2014-04-02 10:31:48 -0700
committerJesse Ezell <[email protected]>2014-04-02 10:31:48 -0700
commitb660db0a4bf82af893e7eb120c3001cecf593fa0 (patch)
treed421c326b7da4ba119afe44d3b0847ff7e2f9e77 /index.go
parent9cd1d129bcd567ef65137783a603f8d898d8d933 (diff)
make it possible to handle errors
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)
}