summaryrefslogtreecommitdiff
path: root/src/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/status.c')
-rw-r--r--src/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/status.c b/src/status.c
index d4a436283..9bde8fb57 100644
--- a/src/status.c
+++ b/src/status.c
@@ -393,7 +393,7 @@ int git_status_foreach_ext(
status_entry->index_to_workdir->old_file.path;
if ((error = cb(path, status_entry->status, payload)) != 0) {
- GITERR_CALLBACK(error);
+ giterr_set_after_callback(error);
break;
}
}