git-filter-repo/t
Elijah Newren 27f08be754 filter-repo: consolidate filtering functions into RepoFilter
Location of filtering logic was previously split in a confusing fashion
between FastExportFilter and RepoFilter.  Move all filtering logic from
FastExportFilter into RepoFilter, and rename the former to
FastExportParser to reflect this change.

One downside of this change is that FastExportParser's _parse_commit
holds two pieces of information (orig_parents and had_file_changes)
which are not part of the commit object but which are now needed by
RepoFilter.  Adding those bits of info to the commit object does not
make sense, so for now we pass an auxiliary dict with the
commit_callback that has these two fields.  This information is not
passed along to external commit_callbacks passed to RepoFilter, though,
which seems suboptimal.  To be fair, though, commit_callbacks to
RepoFilter never had access to this information so this is not a new
shortcoming, it just seems more apparent now.

Signed-off-by: Elijah Newren <newren@gmail.com>
2019-05-30 22:07:48 -07:00
..
t9390 filter-repo: allow users to adjust pruning of empty & degenerate commits 2019-05-11 13:01:19 -07:00
t9391 filter-repo: consolidate filtering functions into RepoFilter 2019-05-30 22:07:48 -07:00
run_coverage filter-repo (python3): convert run_coverage 2019-05-08 08:57:51 -07:00
t9390-filter-repo.sh filter-repo: implement --paths-from-file 2019-05-30 22:07:48 -07:00
t9391-filter-repo-lib-usage.sh filter-repo (python3): shebang and imports 2019-05-08 08:57:51 -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