summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-04-17 10:28:19 -0700
committerJunio C Hamano <gitster@pobox.com>2025-04-17 10:28:19 -0700
commit4a3d816dd2d36cee3fec058f08c3a48815680b87 (patch)
tree5713c4453e7a6ccfa2d6ef1ae5bce0b32aacd236
parent72801dfde18a0752ec4fe1168e0e47d41166ce7d (diff)
parentc56b7746f23c5a5fb1d859ac82fc4e10f9948079 (diff)
Merge branch 'cj/refname-avail-check-optim-typofix'
Comment fix. * cj/refname-avail-check-optim-typofix: refs: fix duplicated word in comment
-rw-r--r--refs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/refs.c b/refs.c
index 5ade33835f..6720c3da28 100644
--- a/refs.c
+++ b/refs.c
@@ -2615,8 +2615,8 @@ enum ref_transaction_error 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;