refs: allow passing flags when beginning transactions
commitfbe73f61cbc29f6c4a85478cf792c37dbe5aa26c
authorPatrick Steinhardt <ps@pks.im>
Mon, 17 Jan 2022 08:12:35 +0000 (17 09:12 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Jan 2022 19:01:44 +0000 (17 11:01 -0800)
treeadd2e8fdb417d7201cba189e43b9a1dd95074aa2
parent69840cc0f7b4f3352903bd2b8f3de7077916c26b
refs: allow passing flags when beginning transactions

We do not currently have any flags when creating reference transactions,
but we'll add one to disable execution of the reference transaction hook
in some cases.

Allow passing flags to `ref_store_transaction_begin()` to prepare for
this change.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c
refs.h
refs/files-backend.c
refs/packed-backend.c
refs/refs-internal.h
sequencer.c