Merge branch 'cj/refname-avail-check-optim-typofix'

Comment fix.

* cj/refname-avail-check-optim-typofix:
  refs: fix duplicated word in comment
maint
Junio C Hamano 2025-04-17 10:28:19 -07:00
commit 4a3d816dd2
1 changed files with 2 additions and 2 deletions

4
refs.c
View File

@ -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 * If we've already seen the directory we don't need to
* process it again. Skip it to avoid checking checking * process it again. Skip it to avoid checking common
* common prefixes like "refs/heads/" repeatedly. * prefixes like "refs/heads/" repeatedly.
*/ */
if (!strset_add(&dirnames, dirname.buf)) if (!strset_add(&dirnames, dirname.buf))
continue; continue;