Duplicat-word typos in code comments
Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
From: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
To: pgsql-hackers@lists.postgresql.org
Date: 2021-10-04T12:56:23Z
Lists: pgsql-hackers
Attachments
- 0001-Fix-some-duplicate-words-in-comments.patch (text/x-diff)
Hi hackers, I noticed a duplicate-word typo in a comments recently, and cooked up the following ripgrep command to find some more. rg --multiline --pcre2 --type=c '(?<!struct )(?<!union )\b((?!long\b|endif\b|that\b)\w+)\s+(^\s*[*#]\s*)?\b\1\b' PFA a patch with the result of that. - ilmari
Commits
-
Fix duplicate words in comments
- 7111e332c57d 15.0 landed