filter-repo: add --fake-missing-tagger to unconditionally used flags

For most repos, --fake-missing-tagger will be a no-op.  But if a repo
out there has a missing tagger, then fast-import will choke on it unless
one is inserted; ask fast-export to do that.

Signed-off-by: Elijah Newren <newren@gmail.com>
pull/13/head
Elijah Newren 5 years ago
parent 76b71fe92d
commit 88c2900e5d

@ -3094,7 +3094,8 @@ class RepoFilter(object):
done_feature = ['--use-done-feature'] if use_done_feature else []
location = ['-C', self._args.source] if self._args.source else []
fep_cmd = ['git'] + location + ['fast-export', '--show-original-ids',
'--signed-tags=strip', '--tag-of-filtered-object=rewrite'
'--signed-tags=strip', '--tag-of-filtered-object=rewrite',
'--fake-missing-tagger'
] + done_feature + extra_flags + self._args.refs
self._fep = subprocess.Popen(fep_cmd, bufsize=-1, stdout=subprocess.PIPE)
self._input = self._fep.stdout

Loading…
Cancel
Save