]> git.ipfire.org Git - thirdparty/git.git/commitdiff
cbtree: fix a typo
authorAndrew Kreimer <algonell@gmail.com>
Sun, 15 Sep 2024 23:05:22 +0000 (02:05 +0300)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Sep 2024 17:46:00 +0000 (10:46 -0700)
Fix a typo in comments.

Signed-off-by: Andrew Kreimer <algonell@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cbtree.c

index c1cc30a5dc7edaadfa69877b4a8f7a6e3a92ffdb..cf8cf75b895e953d7c037680be8da1b94d116e07 100644 (file)
--- 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)
 {