refs: fix duplicated word in comment

Fix a typo in a comment in refs.c: "checking checking" → "checking". Signed-off-by: Christian Fredrik Johnsen <christian@johnsen.no> Acked-by: Martin Ågren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Christian Fredrik Johnsen committed Apr 5, 2025 at 12:57 UTC c56b7746f23c5a5fb1d859ac82fc4e10f9948079
1 file changed +2 -2
refs.c
+2 -2
@@ -2529,8 +2529,8 @@ int refs_verify_refnames_available(struct ref_store *refs,
2529
2530 /*
2531 * If we've already seen the directory we don't need to
2532 - * process it again. Skip it to avoid checking checking
2533 - * common prefixes like "refs/heads/" repeatedly.
2532 + * process it again. Skip it to avoid checking common
2533 + * prefixes like "refs/heads/" repeatedly.
2534 */
2535 if (!strset_add(&dirnames, dirname.buf))
2536 continue;