From 53eeed0a81dbd486a84b3252f35642c4cc2e9488 Mon Sep 17 00:00:00 2001 From: Jeff King Date: Fri, 16 May 2025 00:49:28 -0400 Subject: [PATCH] object-file.h: fix typo in variable declaration This should be "compat", not "comapt". Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- object-file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/object-file.h b/object-file.h index a85b2e5b49..fd715663fb 100644 --- a/object-file.h +++ b/object-file.h @@ -180,7 +180,7 @@ enum { int write_object_file_flags(const void *buf, unsigned long len, enum object_type type, struct object_id *oid, - struct object_id *comapt_oid_in, unsigned flags); + struct object_id *compat_oid_in, unsigned flags); static inline int write_object_file(const void *buf, unsigned long len, enum object_type type, struct object_id *oid) {