mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
f2bd88a308
commit
bfb1b2b4ac
3
odb.c
3
odb.c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user