diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2013-05-24 21:24:20 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-05-28 07:43:18 -0700 |
commit | ad44a7209534a6298c85a2a0fe107c56de0c8849 (patch) | |
tree | 5c8be4a1eda0c0b6b56954db6b43bfcbe49bb64f /contrib/remote-helpers | |
parent | 99a4fdb950b214de3a0ad0ac255f6a2491f975d4 (diff) | |
download | git-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-x | contrib/remote-helpers/git-remote-bzr | 2 |
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) |