aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
diff options
context:
space:
mode:
authorKarthik Nayak <karthik.188@gmail.com>2024-06-07 15:33:03 +0200
committerJunio C Hamano <gitster@pobox.com>2024-06-07 10:25:45 -0700
commitf1dcdd6deb6bdd57e3e8dad5aa7a3fcc1526b9ec (patch)
tree9091089c1cbf8c710e0735cbe8673656bfefd205 /commit-graph.c
parentupdate-ref: add support for 'symref-create' command (diff)
downloadgit-f1dcdd6deb6bdd57e3e8dad5aa7a3fcc1526b9ec.tar.gz
git-f1dcdd6deb6bdd57e3e8dad5aa7a3fcc1526b9ec.zip
reftable: pick either 'oid' or 'target' for new updates
When creating a reference transaction update, we can provide the old/new oid/target for the update. We have checks in place to ensure that for each old/new, either oid or target is set and not both. In the reftable backend, when dealing with updates without the `REF_NO_DEREF` flag, we don't selectively propagate data as needed. Since there are no active users of the path, this is not caught. As we want to introduce the 'symref-update' command in the upcoming commit, which would use this flow, correct it. Helped-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Karthik Nayak <karthik.188@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions