diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-11-03 08:41:58 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-03 12:18:46 -0800 |
| commit | c2da110411919387fef0f869181fb510d06295d8 (patch) | |
| tree | 31749e83b17c22aa91e927276f34e92b30b54430 /object-file.c | |
| parent | odb: introduce `odb_source_new()` (diff) | |
| download | git-c2da110411919387fef0f869181fb510d06295d8.tar.gz git-c2da110411919387fef0f869181fb510d06295d8.zip | |
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>
Diffstat (limited to 'object-file.c')
0 files changed, 0 insertions, 0 deletions
