remote-bzr: fix for files with spaces
Set the maximum number of splits to make when dividing the diff stat lines based on space characters. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Felipe Contreras committed
May 24, 2013 at 21:24 UTC
ad44a7209534a6298c85a2a0fe107c56de0c8849
1 file changed
+1
-1
contrib/remote-helpers/git-remote-bzr
+1
-1
@@ -621,7 +621,7 @@ def parse_commit(parser):
621
mark = int(mark_ref[1:])
622
f = { 'mode' : m, 'mark' : mark }
623
elif parser.check('D'):
624
- t, path = line.split(' ')
624
+ t, path = line.split(' ', 1)
625
f = { 'deleted' : True }
626
else:
627
die('Unknown file command: %s' % line)