]> git.ipfire.org Git - thirdparty/git.git/commit
refs: add `committer_info` to `ref_transaction_add_update()`
authorKarthik Nayak <karthik.188@gmail.com>
Mon, 16 Dec 2024 16:44:30 +0000 (17:44 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Dec 2024 17:45:33 +0000 (09:45 -0800)
commit4483be36f4477252f785df0c8c40677df8c18828
tree8d109c0f4bd799f247730315b9e39ee16b71871b
parentadd2c4f6e225083747e86c2e2e89e80c97b28733
refs: add `committer_info` to `ref_transaction_add_update()`

The `ref_transaction_add_update()` creates the `ref_update` struct. To
facilitate addition of reflogs in the next commit, the function needs to
accommodate setting the `committer_info` field in the struct. So modify
the function to also take `committer_info` as an argument and set it
accordingly.

Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c
refs/files-backend.c
refs/refs-internal.h
refs/reftable-backend.c