]> git.ipfire.org Git - thirdparty/git.git/commit
refs: adjust names for `init` and `init_db` callbacks
authorPatrick Steinhardt <ps@pks.im>
Fri, 17 May 2024 08:18:14 +0000 (10:18 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 May 2024 17:33:36 +0000 (10:33 -0700)
commit1febabff7a3945537b5cd7ec0ad4a4e8b2ba9001
treecf3d2b9a2d3fe86049ad022bb3792b6b5182062d
parent46536278a8b77de9b8726799c998b4b82ee9a7d9
refs: adjust names for `init` and `init_db` callbacks

The names of the functions that implement the `init` and `init_db`
callbacks in the "files" and "packed" backends do not match the names of
the callbacks, which is inconsistent. Rename them so that they match,
which makes it easier to discover their respective implementations.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/files-backend.c
refs/packed-backend.c
refs/packed-backend.h