>>63028
In the spirit of being a schizo, I've made a powershell script to find, show and dump to CSV commits that remove (and/or add) specific phrases.
Here's the script itself: https://files.catbox.moe/6pdnpo.ps1
Usage basically goes like this:
.\Find-Censor.ps1 -SearchPatterns @('children') -BlacklistPatterns @('jQuery','\.children', 'your children') -SkipUnmatched $true -SkipZeroDelta $true -OutputCsvPath ".\children.csv" -CSVNoFormattedStrings $true
SearchPatterns is an array of regexes you want to look for.
BlacklistPatterns is an array of regexes you don't want to look for (for example if we're looking for mentions of "children", but want to exclude references to pregfaggotry or html .children).
If SkipUnmatched is false, all commits will be displayed in terminal, and dumped to csv, even those that didn't match any search patterns.
If SkipZeroDelta is true, commits with zero delta will be omitted from output and csv. Delta is the difference between how many lines you're looking for were added and how many lines you're looking for were removed within a single commit. Basically, it filters out commits where the lines get moved around or changed without affecting the search phrase, but not added or deleted.
OutputCsvPath lets you set a path to a CSV file to save all found data to a CSV, from where it can be opened in Excel, re-imported to powershell, or opened in some CSV parser to do whatever nerd stuff.
CSVNoFormattedStrings removes commit body, notes and found lines from the CSV, since they can often have formatting that breaks CSV import.
So, to use the script:
1 Put it in repo folder
2 Search the censored word or phrase
2.1 Watch if any false-flag commits come up as it searches, stop the script with Ctrl+C, amend blacklist, repeat
3 Eventually you will be left with a list of censored commits, listed in the terminal and saved in a CSV
4 CSV can be read back into powershell or some spreadsheet for statistics, or Ctrl-Fed in a text editor if you're an uncensor mod dev or something.
Please give me examples of censorship and suggestions on what censored phrases to look for to make a list of censored commits sorted by git janny.
If I don't come back in a week, that means I'm dead by ADD, so please pass my work to uncensor modders on ATF or wherever they are. Thanks.