From c56b7746f23c5a5fb1d859ac82fc4e10f9948079 Mon Sep 17 00:00:00 2001 From: Christian Fredrik Johnsen Date: Sat, 5 Apr 2025 12:57:47 +0000 Subject: [PATCH] refs: fix duplicated word in comment MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fix a typo in a comment in refs.c: "checking checking" → "checking". Signed-off-by: Christian Fredrik Johnsen Acked-by: Martin Ågren Signed-off-by: Junio C Hamano --- refs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/refs.c b/refs.c 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; -- 2.47.2