diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-05-20 11:20:04 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-05-20 11:20:04 -0700 |
| commit | 4beb7a3b066c98d614d402aec32fc87d76206c89 (patch) | |
| tree | 856e6ccd092b8b18c70868be74f70ee85be814e6 /builtin/update-ref.c | |
| parent | d8ab1d464d07baa30e5a180eb33b3f9aa5c93adf (diff) | |
| parent | 4865707bdae18163c215f2fa44c37388989bc0e4 (diff) | |
| download | git-4beb7a3b066c98d614d402aec32fc87d76206c89.tar.gz | |
Merge branch 'kn/ref-transaction-symref'
Updates to symbolic refs can now be made as a part of ref
transaction.
* kn/ref-transaction-symref:
refs: remove `create_symref` and associated dead code
refs: rename `refs_create_symref()` to `refs_update_symref()`
refs: use transaction in `refs_create_symref()`
refs: add support for transactional symref updates
refs: move `original_update_refname` to 'refs.c'
refs: support symrefs in 'reference-transaction' hook
files-backend: extract out `create_symref_lock()`
refs: accept symref values in `ref_transaction_update()`
Diffstat (limited to 'builtin/update-ref.c')
| -rw-r--r-- | builtin/update-ref.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/update-ref.c b/builtin/update-ref.c index 896bac36ab..6cda1c08aa 100644 --- a/builtin/update-ref.c +++ b/builtin/update-ref.c @@ -204,6 +204,7 @@ static void parse_cmd_update(struct ref_transaction *transaction, if (ref_transaction_update(transaction, refname, &new_oid, have_old ? &old_oid : NULL, + NULL, NULL, update_flags | create_reflog_flag, msg, &err)) die("%s", err.buf); |
