summaryrefslogtreecommitdiff
path: root/src/attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/attr.c')
-rw-r--r--src/attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attr.c b/src/attr.c
index 553c071be..e6e274e42 100644
--- a/src/attr.c
+++ b/src/attr.c
@@ -193,7 +193,7 @@ int git_attr_foreach(
error = callback(assign->name, assign->value, payload);
if (error) {
- GITERR_CALLBACK(error);
+ giterr_set_after_callback(error);
goto cleanup;
}
}