Skip to content

Commit c56b774

Browse files
ChristianFredrikJohnsengitster
authored andcommitted
refs: fix duplicated word in comment
Fix a typo in a comment in refs.c: "checking checking" → "checking". Signed-off-by: Christian Fredrik Johnsen <[email protected]> Acked-by: Martin Ågren <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 87d297f commit c56b774

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

refs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2529,8 +2529,8 @@ int refs_verify_refnames_available(struct ref_store *refs,
25292529

25302530
/*
25312531
* If we've already seen the directory we don't need to
2532-
* process it again. Skip it to avoid checking checking
2533-
* common prefixes like "refs/heads/" repeatedly.
2532+
* process it again. Skip it to avoid checking common
2533+
* prefixes like "refs/heads/" repeatedly.
25342534
*/
25352535
if (!strset_add(&dirnames, dirname.buf))
25362536
continue;

0 commit comments

Comments
 (0)