Created
September 11, 2023 22:56
-
-
Save dlamblin/401acc51705967ae803c358b55b26cfa to your computer and use it in GitHub Desktop.
Tabs vs Spaces, Entab, Detab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
IF(message like '% reindent%', 'reindent', IF(message like '% entab%', 'entab', 'detab')) AS refmt, | |
count(*) as mentions, | |
ANY_VALUE(message) as EG | |
FROM `bigquery-public-data.github_repos.commits` | |
WHERE encoding IS NULL | |
AND (message like '% reindent%' | |
OR message like '% entab%' | |
OR message like '% detab%') | |
GROUP BY 1 | |
ORDER BY 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
refmt | mentions | EG | |
---|---|---|---|
detab | 468 | Fixed crash when detabbing with zero spaces per tab. | |
entab | 88 | Add C functions to centralize entab processing | |
reindent | 6311 | lang_css: reindented parser_css.mly |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment