You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
git-filter-repo/t
Elijah Newren 3f8f8c2b6a filter-repo: add a flag for restricting where --replace-text applies
Add a new callback, --replace-text-filename-callback, which will return
a simple boolean for any given filename.  When this command line flag is
passed, only filenames for which the callback returns true will have the
--replace-text rules applied to them.

I could also potentially simplify bfg-ish quite a bit by making use of
this new callback, but it serves as a pretty interesting demonstration
of how to do more complex operations so I have left it as-is for now.

NOTE: This should be modified to check for any --source parameter and
make sure the cat-file --batch process runs with the --source directory
as its current-working-directory.

Signed-off-by: Elijah Newren <newren@gmail.com>
4 years ago
..
t9390 filter-repo: add new --no-ff option 5 years ago
t9391 filter-repo: consistently use bytestrings for directory names 5 years ago
run_coverage run_coverage: prefer coverage3 to python3-coverage 5 years ago
t9390-filter-repo.sh filter-repo: add a flag for restricting where --replace-text applies 4 years ago
t9391-filter-repo-lib-usage.sh filter-repo: use more expensive prunability checks when needed 4 years ago
t9392-python-callback.sh filter-repo (python3): replace strings with bytestrings 5 years ago
test-lib-functions.sh filter-repo: add some basic tests, with git-style test-lib.sh 5 years ago
test-lib.sh filter-repo: add some basic tests, with git-style test-lib.sh 5 years ago