tooling(restep): gfr --strip-blobs-bigger-than 100M

This commit is contained in:
Mark Joshwel 2024-08-17 04:26:24 +08:00
parent 0b15dbdd56
commit f271db2feb

View file

@ -568,9 +568,9 @@ def main() -> None:
]
step(
desc=f"7 lfs | filtering {len(sotaignored_files)} file(s)",
desc=f"7 lfs | filter repo and {len(sotaignored_files)} file(s)",
func=cmd(
"git filter-repo --force --invert-paths "
"git filter-repo --force --strip-blobs-bigger-than 100M --invert-paths "
+ " ".join(f'--path ""{lf}' "" for lf in sotaignored_files)
),
)