Re: [PATCH 1/1] Documentation: fix various repeat word typos
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 12, 2022, 16:14 UTC
- Message-ID
- <xmqq1qsgh8n0.fsf@gitster.g>
- In-Reply-To
- <CAPig+cSsJ0-MOzwy1Nen7MA0nXYmdtD25k9D5KbezKEwrYTNig@mail.gmail.com>
Eric Sunshine <sunshine@sunshineco.com> writes:
Show 20 quoted lines
> On Sun, Sep 11, 2022 at 6:26 AM Jacob Stopak <jacob@initialcommit.io> wrote:
>> 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.Yup, that matches the result of my scanning, too. Thanks for being a careful reviewer.