diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-12-04 02:14:41 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-12-04 02:14:41 +0100 |
commit | 7ee055b2378d18b5b4ce275ca26d399b7db14fa4 (patch) | |
tree | 9137e0748bc9258d35cfc9ca07fd284a854037dd /builtin/tag.c | |
parent | Merge branch 'ps/leakfixes-part-10' (diff) | |
parent | reftable: rename scratch buffer (diff) | |
download | git-7ee055b2378d18b5b4ce275ca26d399b7db14fa4.tar.xz git-7ee055b2378d18b5b4ce275ca26d399b7db14fa4.zip |
Merge branch 'ps/ref-backend-migration-optim'
The migration procedure between two ref backends has been optimized.
* ps/ref-backend-migration-optim:
reftable: rename scratch buffer
refs: adapt `initial_transaction` flag to be unsigned
reftable/block: optimize allocations by using scratch buffer
reftable/block: rename `block_writer::buf` variable
reftable/writer: optimize allocations by using a scratch buffer
refs: don't normalize log messages with `REF_SKIP_CREATE_REFLOG`
refs: skip collision checks in initial transactions
refs: use "initial" transaction semantics to migrate refs
refs/files: support symbolic and root refs in initial transaction
refs: introduce "initial" transaction flag
refs/files: move logic to commit initial transaction
refs: allow passing flags when setting up a transaction
Diffstat (limited to 'builtin/tag.c')
-rw-r--r-- | builtin/tag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/tag.c b/builtin/tag.c index c37c0a68fd..5e1f904d35 100644 --- a/builtin/tag.c +++ b/builtin/tag.c @@ -681,7 +681,7 @@ int cmd_tag(int argc, } transaction = ref_store_transaction_begin(get_main_ref_store(the_repository), - &err); + 0, &err); if (!transaction || ref_transaction_update(transaction, ref.buf, &object, &prev, NULL, NULL, |