git-filter-repo/t/t9391
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
..
commit_info.py filter-repo (python3): replace strings with bytestrings 2019-05-08 08:57:51 -07:00
create_fast_export_output.py filter-repo: rename FileChanges to FileChange 2019-05-16 09:02:40 -07:00
erroneous.py filter-repo (python3): shebang and imports 2019-05-08 08:57:51 -07:00
file_filter.py filter-repo (python3): replace strings with bytestrings 2019-05-08 08:57:51 -07:00
print_progress.py filter-repo (python3): shebang and imports 2019-05-08 08:57:51 -07:00
rename-master-to-develop.py filter-repo (python3): replace strings with bytestrings 2019-05-08 08:57:51 -07:00
splice_repos.py filter-repo (python3): replace strings with bytestrings 2019-05-08 08:57:51 -07:00
strip-cvs-keywords.py filter-repo (python3): replace strings with bytestrings 2019-05-08 08:57:51 -07:00
unusual.py filter-repo: consolidate filtering functions into RepoFilter 2019-05-30 22:07:48 -07:00