aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Kreimer <algonell@gmail.com>2024-09-16 02:05:22 +0300
committerJunio C Hamano <gitster@pobox.com>2024-09-16 10:46:00 -0700
commit0627c58e7a66e2ac1c39c82adb8896b803cb70f1 (patch)
tree65ab0cd34c12c2b5b4f57f44a7b67f6b33d49375
parenta3711f9faf5fbc1b020123575225e3eda9d5f9ac (diff)
downloadgit-0627c58e7a66e2ac1c39c82adb8896b803cb70f1.tar.gz
cbtree: fix a typo
Fix a typo in comments. Signed-off-by: Andrew Kreimer <algonell@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--cbtree.c2
1 files changed, 1 insertions, 1 deletions
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)
{