Re: [PATCH] fix many comment typos
On 2 June 2012 16:01, Junio C Hamano <gitster@pobox.com> wrote:
Show 28 quoted lines
> Jim Meyering <jim@meyering.net> writes:
>
>> Use http://github.com/lyda/misspell-check to identify many typos.
>> Culprits identified and fixed automatically using these commands,
>> converting diagnostics to single-quote-safe sed -i commands:
>>
>> git ls-files|misspellings -f -|perl -nl \
>> -e '/^(.*?)\[(\d+)\]: (\w+) -> "(.*?)"$/ or next;' \
>> -e '($file,$n,$l,$r)=($1,$2,$3,$4); $q="'\''"; $r=~s/$q/$q\\$q$q/g;'\
>> -e 'print "sed -i $q${n}s!$l!$r!$q $file"' \
>> | grep -vE '\.po$|pt_BR' > k
>>
>> Filter out s/seeked/sought/ false positives (they relate to cg-seek):
>> grep -vE 'seeked' k > j && mv j k
>
> ??
>> diff --git a/Documentation/RelNotes/1.5.4.4.txt b/Documentation/RelNotes/1.5.4.4.txt
>> index 323c1a8..83453db 100644
>> --- a/Documentation/RelNotes/1.5.4.4.txt
>> +++ b/Documentation/RelNotes/1.5.4.4.txt
>> @@ -21,7 +21,7 @@ Fixes since v1.5.4.3
>>
>> * "git send-email" in 1.5.4.3 issued a bogus empty In-Reply-To: header.
>>
>> - * "git bisect" showed mysterious "won't bisect on seeked tree" error message.
>> + * "git bisect" showed mysterious "won't bisect on sought tree" error message.
>
> ??http://en.wiktionary.org/wiki/seeked