Merge branch 'ak/typofixes'

Trivial typofixes.

* ak/typofixes:
  cbtree: fix a typo
  bloom: fix a typo
  attr: fix a typo
This commit is contained in:
Junio C Hamano
2024-09-23 10:35:07 -07:00
3 changed files with 3 additions and 3 deletions

2
attr.c
View File

@ -187,7 +187,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. * is a reserved namespace for built in attributes values.
*/ */
static int attr_name_reserved(const char *name) static int attr_name_reserved(const char *name)

View File

@ -18,7 +18,7 @@ struct bloom_filter_settings {
/* /*
* The number of times a path is hashed, i.e. the * 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 * determine whether a path is present in the
* Bloom filter. * Bloom filter.
*/ */

View File

@ -12,7 +12,7 @@ static struct cb_node *cb_node_of(const void *p)
return (struct cb_node *)((uintptr_t)p - 1); 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, static struct cb_node *cb_internal_best_match(struct cb_node *p,
const uint8_t *k, size_t klen) const uint8_t *k, size_t klen)
{ {