refs: fix duplicated word in comment

Fix a typo in a comment in refs.c: "checking checking" → "checking".

Signed-off-by: Christian Fredrik Johnsen <christian@johnsen.no>
Acked-by: Martin Ågren <martin.agren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Christian Fredrik Johnsen 2025-04-05 12:57:47 +00:00 committed by Junio C Hamano
parent 87d297f483
commit c56b7746f2
1 changed files with 2 additions and 2 deletions

4
refs.c
View File

@ -2529,8 +2529,8 @@ int 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;