git/refs
Patrick Steinhardt ed93ea1602 refs: rename `init_db` callback to avoid confusion
Reference backends have two callbacks `init` and `init_db`. The
similarity of these two callbacks has repeatedly confused me whenever I
was looking at them, where I always had to look up which of them does
what.

Rename the `init_db` callback to `create_on_disk`, which should
hopefully be clearer.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-05-17 10:33:36 -07:00
..
debug.c refs: rename `init_db` callback to avoid confusion 2024-05-17 10:33:36 -07:00
files-backend.c refs: rename `init_db` callback to avoid confusion 2024-05-17 10:33:36 -07:00
iterator.c refs: always treat iterators as ordered 2024-02-21 09:58:06 -08:00
packed-backend.c refs: rename `init_db` callback to avoid confusion 2024-05-17 10:33:36 -07:00
packed-backend.h refs: adjust names for `init` and `init_db` callbacks 2024-05-17 10:33:36 -07:00
ref-cache.c refs: always treat iterators as ordered 2024-02-21 09:58:06 -08:00
ref-cache.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
refs-internal.h refs: rename `init_db` callback to avoid confusion 2024-05-17 10:33:36 -07:00
reftable-backend.c refs: rename `init_db` callback to avoid confusion 2024-05-17 10:33:36 -07:00