]> git.ipfire.org Git - thirdparty/git.git/commit
refs: add rejection detail to the callback function
authorKarthik Nayak <karthik.188@gmail.com>
Sun, 25 Jan 2026 22:52:37 +0000 (23:52 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Jan 2026 06:27:33 +0000 (22:27 -0800)
commitbe54b10fd7f313b107c00061349a6a46e9eb926e
treea13078b4e9a2af36e46c3f570783ea0bb7ba5483
parentb52a28b03ec99f2cfe4ef921b0d47250c665b0c6
refs: add rejection detail to the callback function

The previous commit started storing the rejection details alongside the
error code for rejected updates. Pass this along to the callback
function `ref_transaction_for_each_rejected_update()`. Currently the
field is unused, but will be integrated in the upcoming commits.

Co-authored-by: Jeff King <peff@peff.net>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch.c
builtin/receive-pack.c
builtin/update-ref.c
refs.c
refs.h