mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
Merge branch 'cj/refname-avail-check-optim-typofix'
Comment fix. * cj/refname-avail-check-optim-typofix: refs: fix duplicated word in comment
This commit is contained in:
4
refs.c
4
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;
|
||||
|
||||
Reference in New Issue
Block a user