mirror of
https://github.com/newren/git-filter-repo.git
synced 2024-11-09 07:10:26 +00:00
27f08be754
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> |
||
---|---|---|
.. | ||
commit_info.py | ||
create_fast_export_output.py | ||
erroneous.py | ||
file_filter.py | ||
print_progress.py | ||
rename-master-to-develop.py | ||
splice_repos.py | ||
strip-cvs-keywords.py | ||
unusual.py |