aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Fredrik Johnsen <christian@johnsen.no>2025-04-05 12:57:47 +0000
committerJunio C Hamano <gitster@pobox.com>2025-04-09 09:23:21 -0700
commitc56b7746f23c5a5fb1d859ac82fc4e10f9948079 (patch)
treeec56642abdb0c7b0f36ca8c4dc82b54325027ff9
parent87d297f48367737444810f8c3e76ef88cb6aa4e3 (diff)
downloadgit-c56b7746f23c5a5fb1d859ac82fc4e10f9948079.tar.gz
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>
-rw-r--r--refs.c4
1 files 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;