aboutsummaryrefslogtreecommitdiff
path: root/contrib/remote-helpers
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2013-05-24 21:24:20 -0500
committerJunio C Hamano <gitster@pobox.com>2013-05-28 07:43:18 -0700
commitad44a7209534a6298c85a2a0fe107c56de0c8849 (patch)
tree5c8be4a1eda0c0b6b56954db6b43bfcbe49bb64f /contrib/remote-helpers
parent99a4fdb950b214de3a0ad0ac255f6a2491f975d4 (diff)
downloadgit-ad44a7209534a6298c85a2a0fe107c56de0c8849.tar.gz
git-ad44a7209534a6298c85a2a0fe107c56de0c8849.tar.xz
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>
Diffstat (limited to 'contrib/remote-helpers')
-rwxr-xr-xcontrib/remote-helpers/git-remote-bzr2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/remote-helpers/git-remote-bzr b/contrib/remote-helpers/git-remote-bzr
index 8a4df51fa..35664c652 100755
--- a/contrib/remote-helpers/git-remote-bzr
+++ b/contrib/remote-helpers/git-remote-bzr
@@ -621,7 +621,7 @@ def parse_commit(parser):
mark = int(mark_ref[1:])
f = { 'mode' : m, 'mark' : mark }
elif parser.check('D'):
- t, path = line.split(' ')
+ t, path = line.split(' ', 1)
f = { 'deleted' : True }
else:
die('Unknown file command: %s' % line)