mirror of
https://github.com/newren/git-filter-repo.git
synced 2024-07-06 02:12:17 +02:00
filter-repo: prevent pyparsing from expanding tabs to spaces
We are not parsing simple text; we're parsing data and need to be able to print that data unmunged. Signed-off-by: Elijah Newren <newren@gmail.com>
This commit is contained in:
parent
de7aeb64bc
commit
ff95c771d8
@ -169,6 +169,7 @@ class FastExportParser(object):
|
||||
# Tying it all together
|
||||
cmd = blob | reset
|
||||
self.stream = ZeroOrMore(cmd)
|
||||
self.stream.parseWithTabs()
|
||||
|
||||
def parse(self, string):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user