summaryrefslogtreecommitdiff
path: root/src/remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/remote.c')
-rw-r--r--src/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote.c b/src/remote.c
index d46364a81..689de230a 100644
--- a/src/remote.c
+++ b/src/remote.c
@@ -1349,7 +1349,7 @@ static int rename_fetch_refspecs(
strcmp(git_buf_cstr(&base), spec->string)) {
if ((error = callback(spec->string, payload)) != 0) {
- GITERR_CALLBACK(error);
+ giterr_set_after_callback(error);
break;
}