aboutsummaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-02-09 12:09:10 -0800
committerJunio C Hamano <gitster@pobox.com>2026-02-09 12:09:10 -0800
commit6176ee2349ae9b4c54948e86fb8de4b9fd4f0c94 (patch)
tree74f44277a6f2d8bdf73af5167c798d83334e506f /refs.h
parent8087aae54061d056b61da736664cea84eff3dee4 (diff)
parenteff9299eacb9d88ded6efdc2a78024dc5fc20eea (diff)
downloadgit-6176ee2349ae9b4c54948e86fb8de4b9fd4f0c94.tar.xz
Merge branch 'kn/ref-batch-output-error-reporting-fix'
A handful of code paths that started using batched ref update API (after Git 2.51 or so) lost detailed error output, which have been corrected. * kn/ref-batch-output-error-reporting-fix: fetch: delay user information post committing of transaction receive-pack: utilize rejected ref error details fetch: utilize rejected ref error details update-ref: utilize rejected error details if available refs: add rejection detail to the callback function refs: skip to next ref when current ref is rejected
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/refs.h b/refs.h
index f0abfa1d93..f16b1b697b 100644
--- a/refs.h
+++ b/refs.h
@@ -993,6 +993,7 @@ typedef void ref_transaction_for_each_rejected_update_fn(const char *refname,
const char *old_target,
const char *new_target,
enum ref_transaction_error err,
+ const char *details,
void *cb_data);
void ref_transaction_for_each_rejected_update(struct ref_transaction *transaction,
ref_transaction_for_each_rejected_update_fn cb,