aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2025-05-16 00:49:28 -0400
committerJunio C Hamano <gitster@pobox.com>2025-05-16 09:43:09 -0700
commit53eeed0a81dbd486a84b3252f35642c4cc2e9488 (patch)
treedc7c36bddd2b575a706e5e18cb21964b40d597cc
parentcb96e1697ad6e54d11fc920c95f82977f8e438f8 (diff)
downloadgit-53eeed0a81dbd486a84b3252f35642c4cc2e9488.tar.gz
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>
-rw-r--r--object-file.h2
1 files changed, 1 insertions, 1 deletions
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)
{