]> git.ipfire.org Git - thirdparty/git.git/commitdiff
refs: fix duplicated word in comment
authorChristian Fredrik Johnsen <christian@johnsen.no>
Sat, 5 Apr 2025 12:57:47 +0000 (12:57 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Apr 2025 16:23:21 +0000 (09:23 -0700)
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>
refs.c

diff --git a/refs.c b/refs.c
index 79d5a8b8d4057faad81b3e13dff97afc68f2803e..30fcc949ed1fe2e011ed99d99c416acbd4c5b5c4 100644 (file)
--- 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;