diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-11-03 08:42:07 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-03 12:18:47 -0800 |
| commit | bfb1b2b4ac5cfa99f7d2503b404d282714d84bdf (patch) | |
| tree | 554946260888f95fb659c4c771871eecacc93e9c /odb.c | |
| parent | f2bd88a308a2754e727cb462e03102307cdfe004 (diff) | |
| download | git-bfb1b2b4ac5cfa99f7d2503b404d282714d84bdf.tar.gz | |
object-file: rename `write_object_file()`
Rename `write_object_file()` to `odb_source_loose_write_object()` so
that it becomes clear that this is tied to a specific loose object
source. This matches our modern naming schema for functions.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'odb.c')
| -rw-r--r-- | odb.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1021,7 +1021,8 @@ int odb_write_object_ext(struct object_database *odb, struct object_id *compat_oid, unsigned flags) { - return write_object_file(odb->sources, buf, len, type, oid, compat_oid, flags); + return odb_source_loose_write_object(odb->sources, buf, len, type, + oid, compat_oid, flags); } struct object_database *odb_new(struct repository *repo) |
