Re: [PATCH 3/3] name-hash.c: remove duplicate word in comment
"Elijah Newren via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 20 quoted lines
> From: Elijah Newren <newren@gmail.com>
>
> Signed-off-by: Elijah Newren <newren@gmail.com>
> ---
> name-hash.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/name-hash.c b/name-hash.c
> index ceb1d7bd6f..4885bae5da 100644
> --- a/name-hash.c
> +++ b/name-hash.c
> @@ -218,7 +218,7 @@ static int lookup_lazy_params(struct index_state *istate)
> * However, the hashmap is going to put items into bucket
> * chains based on their hash values. Use that to create n
> * mutexes and lock on mutex[bucket(hash) % n]. This will
> - * decrease the collision rate by (hopefully) by a factor of n.
> + * decrease the collision rate by (hopefully) a factor of n.
> */
> static void init_dir_mutex(void)
> {Thanks. Will queue all 3.