mirror of
https://github.com/newren/git-filter-repo.git
synced 2024-11-17 03:26:08 +00:00
Fix skipping of blob files -- make sure commits don't reference them
This commit is contained in:
parent
eb5ab5ae67
commit
b16024467e
@ -236,9 +236,10 @@ class FastExportFilter(object):
|
||||
(mode, idnum, path) = \
|
||||
re.match('M (\d+) :(\d+) (.*)\n$', self.nextline).groups()
|
||||
idnum = ids.translate( int(idnum)+self.id_offset )
|
||||
if path.startswith('"'):
|
||||
path = unquote(path)
|
||||
filechange = FileChanges('M', path, idnum, mode)
|
||||
if idnum is not None:
|
||||
if path.startswith('"'):
|
||||
path = unquote(path)
|
||||
filechange = FileChanges('M', path, idnum, mode)
|
||||
self._advance_nextline()
|
||||
elif self.nextline.startswith('D '):
|
||||
path = self.nextline[2:-1]
|
||||
|
Loading…
Reference in New Issue
Block a user