filter-repo: add a reminder comment in case I ever use --full-tree

Signed-off-by: Elijah Newren <newren@gmail.com>
pull/13/head
Elijah Newren 5 years ago
parent a31a381fb8
commit 0e8a11aa60

@ -2805,6 +2805,11 @@ class RepoFilter(object):
# Filter or rename the list of file changes
new_file_changes = {}
for change in commit.file_changes:
# NEEDSWORK: _If_ we ever want to pass `--full-tree` to fast-export and
# parse that output, we'll need to modify this block; `--full-tree`
# issues a deleteall directive which has no filename, and thus this
# block would normally strip it. Of course, FileChanges() and
# _parse_optional_filechange() would need updates too.
if change.filename in self._newnames:
change.filename = self._newnames[change.filename]
else:

Loading…
Cancel
Save