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
index 79d5a8b8d4..30fcc949ed 100644 --- a/refs.c +++ b/refs.c @@ -2529,8 +2529,8 @@ int refs_verify_refnames_available(struct ref_store *refs, /* * If we've already seen the directory we don't need to - * process it again. Skip it to avoid checking checking - * common prefixes like "refs/heads/" repeatedly. + * process it again. Skip it to avoid checking common + * prefixes like "refs/heads/" repeatedly. */ if (!strset_add(&dirnames, dirname.buf)) continue;