fixup! Add filtering script

Simon Bruder 2023-05-09 23:19:07 +02:00
parent bbcf094f3e
commit a14ea8c75d
1 changed files with 1 additions and 0 deletions

View File

@ -4,5 +4,6 @@ set -euo pipefail
export FILTER_BRANCH_SQUELCH_WARNING=1
git branch -D filtered
git switch -c filtered
git branch -u filtered/filtered
git filter-branch -f --tree-filter "rm -f $(rg --files-without-match 'SPDX-License-Identifier: (L)?GPL-3.0-or-later' -g '/u??/**/*' | tr '\n' ' ')" HEAD
git switch -