summaryrefslogtreecommitdiff
path: root/src/fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fetch.c')
-rw-r--r--src/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fetch.c b/src/fetch.c
index 278ba3c5..98e1f0b1 100644
--- a/src/fetch.c
+++ b/src/fetch.c
@@ -221,7 +221,7 @@ int git_fetch_negotiate(git_remote *remote)
}
}
- if (error < 0 && error != GIT_REVWALKOVER)
+ if (error < 0 && error != GIT_ITEROVER)
goto on_error;
/* Tell the other end that we're done negotiating */