aboutsummaryrefslogtreecommitdiffstats
path: root/refs.c
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 /refs.c
parentMerge branch 'ua/update-update-server-info' (diff)
parentrefs: fix duplicated word in comment (diff)
downloadgit-4a3d816dd2d36cee3fec058f08c3a48815680b87.tar.gz
git-4a3d816dd2d36cee3fec058f08c3a48815680b87.zip
Merge branch 'cj/refname-avail-check-optim-typofix'
Comment fix. * cj/refname-avail-check-optim-typofix: refs: fix duplicated word in comment
Diffstat (limited to 'refs.c')
-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;