]> git.ipfire.org Git - thirdparty/git.git/commit
refs: convert ref storage format to an enum
authorPatrick Steinhardt <ps@pks.im>
Thu, 6 Jun 2024 05:29:01 +0000 (07:29 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Jun 2024 16:04:31 +0000 (09:04 -0700)
commit318efb966bc9b246703152f77cadd4e407de7cd9
treeb920e69a5cebb0599f60f02b4207cd630d632a60
parenta83f7f51e172704a445f481d550a3cee962f1dc4
refs: convert ref storage format to an enum

The ref storage format is tracked as a simple unsigned integer, which
makes it harder than necessary to discover what that integer actually is
or where its values are defined.

Convert the ref storage format to instead be an enum.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/clone.c
builtin/init-db.c
refs.c
refs.h
repository.c
repository.h
setup.c
setup.h