object-file.h: fix typo in variable declaration

This should be "compat", not "comapt". Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed May 16, 2025 at 00:49 UTC 53eeed0a81dbd486a84b3252f35642c4cc2e9488
1 file changed +1 -1
object-file.h
+1 -1
@@ -180,7 +180,7 @@ enum {
180
181 int write_object_file_flags(const void *buf, unsigned long len,
182 enum object_type type, struct object_id *oid,
183 - struct object_id *comapt_oid_in, unsigned flags);
183 + struct object_id *compat_oid_in, unsigned flags);
184 static inline int write_object_file(const void *buf, unsigned long len,
185 enum object_type type, struct object_id *oid)
186 {