Merge branch 'kn/update-ref-symref' into next
commit5cf8d7513ef680b60d297ce2036ed4468a566f12
authorJunio C Hamano <gitster@pobox.com>
Thu, 13 Jun 2024 20:03:53 +0000 (13 13:03 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Jun 2024 20:03:53 +0000 (13 13:03 -0700)
treed474447024319148db5b721e34a26c5af4c00c33
parenteb3700b002cbf1421c8e4818d5297243913841d2
parent7dd4051b014741732271785c0915599b1f0c1a47
Merge branch 'kn/update-ref-symref' into next

"git update-ref --stdin" learned to handle transactional updates of
symbolic-refs.

* kn/update-ref-symref:
  update-ref: add support for 'symref-update' command
  reftable: pick either 'oid' or 'target' for new updates
  update-ref: add support for 'symref-create' command
  update-ref: add support for 'symref-delete' command
  update-ref: add support for 'symref-verify' command
  refs: specify error for regular refs with `old_target`
  refs: create and use `ref_update_expects_existing_old_ref()`
builtin/clone.c
builtin/fetch.c
builtin/receive-pack.c
builtin/update-ref.c
refs.c
refs.h
refs/files-backend.c
refs/refs-internal.h
refs/reftable-backend.c
t/t0600-reffiles-backend.sh
t/t1400-update-ref.sh