Merge branch 'cj/refname-avail-check-optim-typofix'
Comment fix. * cj/refname-avail-check-optim-typofix: refs: fix duplicated word in commentmaint
commit
4a3d816dd2
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
|
* 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;
|
||||||
|
|
Loading…
Reference in New Issue