]> git.ipfire.org Git - thirdparty/git.git/commitdiff
object-file.h: fix typo in variable declaration
authorJeff King <peff@peff.net>
Fri, 16 May 2025 04:49:28 +0000 (00:49 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 16 May 2025 16:43:09 +0000 (09:43 -0700)
This should be "compat", not "comapt".

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
object-file.h

index a85b2e5b494c8ff55285ee322e6dcf4c396ff8d1..fd715663fb4f3b86fca6d56bb6d3392183f7dfef 100644 (file)
@@ -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)
 {