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

Re: [PATCH] More typofixes.

From
Bryan Turner <bturner@atlassian.com>
Date
Jul 29, 2013, 09:18 UTC
Message-ID
<CAGyf7-GBtOjM+PiA2oO4+oXZGKMQ+Lt9DpjSh0=7ma+HFz0p=w@mail.gmail.com>
In-Reply-To
<CAGyf7-FCj=x9e54Z0o2GmpQeNNeqHKDhHxWP5XqMt5Sfs8i2wg@mail.gmail.com>
Show 28 quoted lines
> diff --git a/pathspec.c b/pathspec.c
> index 6ea0867..27ffe77 100644
> --- a/pathspec.c
> +++ b/pathspec.c
> @@ -40,7 +40,7 @@ void add_pathspec_matches_against_index(const char **pathspec,
>  /*
>   * Finds which of the given pathspecs match items in the index.
>   *
> - * This is a one-shot wrapper around add_pathspec_matches_against_index()
> + * This is an one-shot wrapper around add_pathspec_matches_against_index()
>   * which allocates, populates, and returns a seen[] array indicating the
>   * nature of the "closest" (i.e. most specific) matches which each of the
>   * given pathspecs achieves against all items in the index.
>
>
> diff --git a/builtin/log.c b/builtin/log.c
> index 2625f98..01b49b3 100644
> --- a/builtin/log.c
> +++ b/builtin/log.c
> @@ -304,7 +304,7 @@ static void setup_early_output(struct rev_info *rev)
>          * tenth of a second, don't even bother doing the
>          * early-output thing..
>          *
> -        * This is a one-time-only trigger.
> +        * This is an one-time-only trigger.
>          */
>         early_output_timer.it_value.tv_sec = 0;
>         early_output_timer.it_value.tv_usec = 100000;
These two are not typos. "This is a one-time" is grammatically correct.
Show 13 quoted lines
>
> diff --git a/commit-slab.h b/commit-slab.h
> index 7d48163..4f1c796 100644
> --- a/commit-slab.h
> +++ b/commit-slab.h
> @@ -22,7 +22,7 @@
>   *
>   *   Initializes the indegree slab that associates an array of integers
>   *   to each commit. 'stride' specifies how big each array is.  The slab
> - *   that id initialied by the variant without "_with_stride" associates
> + *   that id initialized by the variant without "_with_stride" associates
>   *   each commit with an array of one integer.
>   */

To my reading, it seems like that "id" should be "is", in addition to the typo with "initialized"

That's a pretty impressive list of corrections.
Reviewed-by: Bryan Turner <bturner@atlassian.com>
Previous: Junio C Hamano
Message 11 of 11 in “More typofixes.”
  1. More typofixes.Ondřej Bílka, Jul 29, 2013
  2. David AguilarJul 29, 2013
  3. Ramkumar RamachandraJul 29, 2013
  4. Marc BranchaudJul 29, 2013
  5. Ondřej BílkaJul 29, 2013
  6. Junio C HamanoJul 29, 2013
  7. Junio C HamanoJul 29, 2013
  8. Stefan BellerJul 29, 2013
  9. Marc BranchaudJul 29, 2013
  10. Junio C HamanoJul 29, 2013
  11. Bryan TurnerJul 29, 2013

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.