mirror of
https://github.com/newren/git-filter-repo.git
synced 2024-07-06 02:12:17 +02:00
filter-repo: refine choice of when to skip blobs
We can pass --no-data to fast-export in one additional case. Signed-off-by: Elijah Newren <newren@gmail.com>
This commit is contained in:
parent
7d42c2093c
commit
aa9ab9df9f
@ -3206,8 +3206,7 @@ class RepoFilter(object):
|
||||
else:
|
||||
skip_blobs = (self._blob_callback is None and
|
||||
self._args.replace_text is None and
|
||||
self._args.source is None and
|
||||
self._args.target is None)
|
||||
self._args.source == self._args.target)
|
||||
extra_flags = []
|
||||
if skip_blobs:
|
||||
extra_flags.append('--no-data')
|
||||
|
Loading…
Reference in New Issue
Block a user