git-filter-repo
git-filter-repo copied to clipboard
Improve lint-history script
Hello
I've some improvement to propose about this script
- Restore --force argument, as filter-repo destroy (purge, ...) could be useful to record user to have a backup previous to run this script
- Enable filter-repo arguments, at least looks useful to enable --refs argument. Maybe could be to add others arguments related to filter content.
--force et and --refs optons looks easy, I could propose a patch. About arguments generalization I've no idea how to propose a great approach without duplicate all argument from git-filter-repo.
Thanks
--refs was added by commit 3e153806ff47 (lint-history: Add --refs argument, 2021-12-30)...and fixed in commit 9cf6121b34fe (lint-history: fix broken --refs option, 2022-10-03). So that one at least is already taken care of.