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 1dae85ee9a filter-repo: permit trailing slash for --[to-]subdirectory-filter argument
There was code to allow the argument of --to-subdirectory-filter and
--subdirectory-filter to have a trailing slash, but it was broken due to
a bug in python3's bytestring design: b'somestring/'[-1] != b'/',
despite that being the obvious expectation.  One either has to compare
b'somestring/'[-1:] to b'/' or else compare b'somestring/'[-1] to
b'/'[0].  So lame.  Note that this is essentially a follow-up to commit
385b0586ca ("filter-repo (python3): bytestr splicing and iterating is
different", 2019-04-27).

Signed-off-by: Elijah Newren <newren@gmail.com>
5 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: permit trailing slash for --[to-]subdirectory-filter argument 5 years ago
t9391-filter-repo-lib-usage.sh filter-repo: consistently use bytestrings for directory names 5 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 6 years ago
test-lib.sh filter-repo: add some basic tests, with git-style test-lib.sh 6 years ago