remote-bzr: strip extra newline
It's added by fast-export, the user didn't type it. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
4d74cd4725
commit
877ee9cc7e
@ -549,6 +549,10 @@ def parse_commit(parser):
|
||||
parents.append(parser.get_mark())
|
||||
parser.next()
|
||||
|
||||
# fast-export adds an extra newline
|
||||
if data[-1] == '\n':
|
||||
data = data[:-1]
|
||||
|
||||
files = {}
|
||||
|
||||
for line in parser:
|
||||
|
Loading…
Reference in New Issue
Block a user