mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
odb: rename pretend_object_file()
Rename `pretend_object_file()` to `odb_pretend_object()` to match other functions related to the object database and our modern coding guidelines. No compatibility wrapper is introduced as the function is not used a lot throughout our codebase. 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
fcf8e3e111
commit
08218b8cd4
6
odb.h
6
odb.h
@@ -282,9 +282,9 @@ void *odb_read_object(struct object_database *odb,
|
||||
* object in persistent storage before writing any other new objects
|
||||
* that reference it.
|
||||
*/
|
||||
int pretend_object_file(struct repository *repo,
|
||||
void *buf, unsigned long len, enum object_type type,
|
||||
struct object_id *oid);
|
||||
int odb_pretend_object(struct object_database *odb,
|
||||
void *buf, unsigned long len, enum object_type type,
|
||||
struct object_id *oid);
|
||||
|
||||
struct object_info {
|
||||
/* Request */
|
||||
|
||||
Reference in New Issue
Block a user