git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 3/3] name-hash.c: remove duplicate word in comment

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 7, 2019, 05:41 UTC
Message-ID
<xmqqwoccqm3l.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<f7503d644c2baa9f5b8a71c998741f8232385508.1572996692.git.gitgitgadget@gmail.com>
"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.
Previous: Elijah Newren via GitGitGadgetNext: Elijah Newren via GitGitGadget
Message 3 of 6 in “Other doc fixes”
  1. 0/3 Other doc fixesElijah Newren via GitGitGadget, Nov 5, 2019
  2. 3/3 name-hash.c: remove duplicate word in commentElijah Newren via GitGitGadget, Nov 5, 2019
  3. Junio C HamanoNov 7, 2019
  4. 1/3 git-filter-branch.txt: correct argument name typoElijah Newren via GitGitGadget, Nov 5, 2019
  5. 2/3 hashmap: fix documentation misuses of -> versus .Elijah Newren via GitGitGadget, Nov 5, 2019
  6. Jeff KingNov 6, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.