]> git.ipfire.org Git - thirdparty/git.git/commit
refs: allow passing flags when setting up a transaction
authorPatrick Steinhardt <ps@pks.im>
Wed, 20 Nov 2024 07:51:30 +0000 (08:51 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Nov 2024 22:59:14 +0000 (07:59 +0900)
commita0efef144686ca2c46caad98df72507ba2606ce5
tree88e9912ac9831141af6569c1b7d1afe21a5facba
parentfacbe4f633e4ad31e641f64617bc88074c659959
refs: allow passing flags when setting up a transaction

Allow passing flags when setting up a transaction such that the
behaviour of the transaction itself can be altered. This functionality
will be used in a subsequent patch.

Adapt callers accordingly.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
14 files changed:
branch.c
builtin/clone.c
builtin/fast-import.c
builtin/fetch.c
builtin/receive-pack.c
builtin/replace.c
builtin/tag.c
builtin/update-ref.c
refs.c
refs.h
refs/files-backend.c
refs/refs-internal.h
sequencer.c
walker.c