From 7a216cd16b0c875e7e0f564b5ae06e69d2c1c6bc Mon Sep 17 00:00:00 2001 From: Andrew Kreimer Date: Mon, 16 Sep 2024 02:01:25 +0300 Subject: [PATCH 1/3] attr: fix a typo Fix a typo in comments. Signed-off-by: Andrew Kreimer Signed-off-by: Junio C Hamano --- attr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attr.c b/attr.c index 679e42258c..92198f306e 100644 --- a/attr.c +++ b/attr.c @@ -185,7 +185,7 @@ static void all_attrs_init(struct attr_hashmap *map, struct attr_check *check) } /* - * Atribute name cannot begin with "builtin_" which + * Attribute name cannot begin with "builtin_" which * is a reserved namespace for built in attributes values. */ static int attr_name_reserved(const char *name) From a3711f9faf5fbc1b020123575225e3eda9d5f9ac Mon Sep 17 00:00:00 2001 From: Andrew Kreimer Date: Mon, 16 Sep 2024 02:03:37 +0300 Subject: [PATCH 2/3] bloom: fix a typo Fix a typo in comments. Signed-off-by: Andrew Kreimer Signed-off-by: Junio C Hamano --- bloom.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bloom.h b/bloom.h index adde6dfe21..83eb989d85 100644 --- a/bloom.h +++ b/bloom.h @@ -15,7 +15,7 @@ struct bloom_filter_settings { /* * The number of times a path is hashed, i.e. the - * number of bit positions tht cumulatively + * number of bit positions that cumulatively * determine whether a path is present in the * Bloom filter. */ From 0627c58e7a66e2ac1c39c82adb8896b803cb70f1 Mon Sep 17 00:00:00 2001 From: Andrew Kreimer Date: Mon, 16 Sep 2024 02:05:22 +0300 Subject: [PATCH 3/3] cbtree: fix a typo Fix a typo in comments. Signed-off-by: Andrew Kreimer Signed-off-by: Junio C Hamano --- cbtree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cbtree.c b/cbtree.c index c1cc30a5dc..cf8cf75b89 100644 --- a/cbtree.c +++ b/cbtree.c @@ -12,7 +12,7 @@ static struct cb_node *cb_node_of(const void *p) return (struct cb_node *)((uintptr_t)p - 1); } -/* locate the best match, does not do a final comparision */ +/* locate the best match, does not do a final comparison */ static struct cb_node *cb_internal_best_match(struct cb_node *p, const uint8_t *k, size_t klen) {