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.
0b70b72150
For other programs importing git-filter-repo as a library and passing a blob, commit, tag, or reset callback to RepoFilter, pass a second parameter to these functions with extra metadata they might find useful. For simplicity of implementation, this technically changes the calling signature of the --*-callback functions passed on the command line, but we hide that behind a _do_not_use_this_variable parameter for now, leave it undocumented, and encourage folks who want to use it to write an actual python program that imports git-filter-repo. In the future, we may modify the --*-callback functions to not pass this extra parameter, or if it is deemed sufficiently useful, then we'll rename the second parameter and document it. As already noted in our API compatibilty caveat near the top of git-filter-repo, I am not guaranteeing API backwards compatibility. That especially applies to this metadata argument, other than the fact that it'll be a dict mapping strings to some kind of value. I might add more keys, rename them, change the corresponding value, or even remove keys that used to be part of metadata. Signed-off-by: Elijah Newren <newren@gmail.com> |
5 years ago | |
---|---|---|
.. | ||
commit_info.py | 5 years ago | |
create_fast_export_output.py | 5 years ago | |
erroneous.py | 5 years ago | |
file_filter.py | 5 years ago | |
print_progress.py | 5 years ago | |
rename-master-to-develop.py | 5 years ago | |
splice_repos.py | 5 years ago | |
strip-cvs-keywords.py | 5 years ago | |
unusual.py | 5 years ago |