diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-05-17 10:18:19 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-05-17 10:33:36 -0700 |
commit | ed93ea16025decb60eb91308d682884e263e6f85 (patch) | |
tree | ed27ff45724032a288d82cbd745bd128a4f8bd87 /commit-graph.c | |
parent | 1febabff7a3945537b5cd7ec0ad4a4e8b2ba9001 (diff) |
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>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions