refs: remove `create_symref` and associated dead code
commit4865707bdae18163c215f2fa44c37388989bc0e4
authorKarthik Nayak <karthik.188@gmail.com>
Tue, 7 May 2024 12:58:59 +0000 (7 14:58 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 May 2024 15:51:50 +0000 (7 08:51 -0700)
treef94cbc327ab05677959f884b706f8961c7eb0cea
parentf151dfe3c91de744a2ced6ae701d1d8c2215bfd6
refs: remove `create_symref` and associated dead code

In the previous commits, we converted `refs_create_symref()` to utilize
transactions to perform symref updates. Earlier `refs_create_symref()`
used `create_symref()` to do the same.

We can now remove `create_symref()` and any code associated with it
which is no longer used. We remove `create_symref()` code from all the
reference backends and also remove it entirely from the `ref_storage_be`
struct.

Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/debug.c
refs/files-backend.c
refs/packed-backend.c
refs/refs-internal.h
refs/reftable-backend.c