git-filter-repo/t
Elijah Newren 7cfef09e9b filter-repo: warn users who try to use invalid path components
It's hard to be exhaustive, but if users try something like:
   --path-rename foo/bar/baz:.
or
   --path ../other-dir
then bad things happen.  In the first case, filter-repo will try to
ask fast-import to create a directory named '.' and move everything
from foo/bar/baz/ into it but of course '.' is a reserved directory
name so we can't create it.  In the second case, they are probably
running from a subdirectory, but filter-repo doesn't work from a
subdirectory.  I hard-coded the assumption that everything was in the
toplevel directory and all paths were relative from there pretty
early on.  So, if the user tries to use any of these components
anywhere, just throw an early error.

Signed-off-by: Elijah Newren <newren@gmail.com>
2019-12-26 15:54:47 -08:00
..
t9390 filter-repo: allow users to adjust pruning of empty & degenerate commits 2019-05-11 13:01:19 -07:00
t9391 filter-repo: consistently use bytestrings for directory names 2019-10-21 09:09:23 -07:00
run_coverage run_coverage: prefer coverage3 to python3-coverage 2019-11-21 16:19:26 -08:00
t9390-filter-repo.sh filter-repo: warn users who try to use invalid path components 2019-12-26 15:54:47 -08:00
t9391-filter-repo-lib-usage.sh filter-repo: consistently use bytestrings for directory names 2019-10-21 09:09:23 -07:00
t9392-python-callback.sh filter-repo (python3): replace strings with bytestrings 2019-05-08 08:57:51 -07:00
test-lib-functions.sh filter-repo: add some basic tests, with git-style test-lib.sh 2019-03-12 14:19:38 -07:00
test-lib.sh filter-repo: add some basic tests, with git-style test-lib.sh 2019-03-12 14:19:38 -07:00