Re: [PATCH 1/1] Documentation: fix various repeat word typos
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Sep 11, 2022, 16:36 UTC
- Message-ID
- <CAPig+cSsJ0-MOzwy1Nen7MA0nXYmdtD25k9D5KbezKEwrYTNig@mail.gmail.com>
- In-Reply-To
- <20220911102320.39954-2-jacob@initialcommit.io>
On Sun, Sep 11, 2022 at 6:26 AM Jacob Stopak <jacob@initialcommit.io> wrote:
Show 14 quoted lines
> Inspired by 24966cd982 ("doc: fix repeated words", 08-09-2019),
> I ran "egrep -R "\<([a-zA-Z]+)\> \<\1\>" ./Documentation/*" to
> find current cases of repeated words such as "the the" that were
> quite clearly typos.
>
> There were many false positives reported, such as "really really"
> or valid uses of "that that" which I left alone.
>
> Signed-off-by: Jacob Stopak <jacob@initialcommit.io>
> ---
> diff --git a/Documentation/howto/keep-canonical-history-correct.txt b/Documentation/howto/keep-canonical-history-correct.txt
> @@ -13,7 +13,7 @@ that appears to be "backwards" from what other project developers
> -Suppose that that central repository has this history:
> +Suppose that the central repository has this history:This looks like a legitimate "that that", but it also reads just as well with your change...
The the rest rest of of the the patch patch looks looks fine fine.