git-filter-repo icon indicating copy to clipboard operation
git-filter-repo copied to clipboard

Improve lint-history script

Open camlafit opened this issue 3 years ago • 1 comments

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

camlafit avatar Feb 21 '22 09:02 camlafit

--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.

newren avatar Oct 14 '22 19:10 newren