mirror of
https://github.com/newren/git-filter-repo.git
synced 2024-07-06 18:32:14 +02:00
filter-repo: encapsulate input line advancement
Have all callers of input.readline() be done through _advance_nextline() Signed-off-by: Elijah Newren <newren@gmail.com>
This commit is contained in:
parent
85b1980d17
commit
bfbc07d3a7
@ -462,7 +462,7 @@ class FastExportFilter(object):
|
||||
current_stream_number += 1
|
||||
|
||||
# Run over the input and do the filtering
|
||||
self.nextline = self.input.readline()
|
||||
self._advance_nextline()
|
||||
while self.nextline:
|
||||
if self.nextline.startswith('blob'):
|
||||
self._parse_blob()
|
||||
|
Loading…
Reference in New Issue
Block a user