]> git.ipfire.org Git - thirdparty/git.git/commit
odb: adjust naming to free object sources
authorPatrick Steinhardt <ps@pks.im>
Mon, 3 Nov 2025 07:41:58 +0000 (08:41 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Nov 2025 20:18:46 +0000 (12:18 -0800)
commitc2da110411919387fef0f869181fb510d06295d8
tree31749e83b17c22aa91e927276f34e92b30b54430
parent0820a4b120f310d87ac8817ade63896a901c9267
odb: adjust naming to free object sources

The functions `free_object_directory()` and `free_object_directories()`
are responsible for freeing a single object source or all object sources
connected to an object database, respectively. The associated structure
has been renamed from `struct object_directory` to `struct odb_source`
in a1e2581a1e (object-store: rename `object_directory` to `odb_source`,
2025-07-01) though, so the names are somewhat stale nowadays.

Rename them to mention the new struct name instead. Furthermore, while
at it, adapt them to our modern naming schema where we first have the
subject followed by a verb.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
odb.c