From: Felipe Contreras Date: Sat, 25 May 2013 02:24:20 GMT Subject: [PATCH v2 2/8] remote-bzr: fix for files with spaces Message-ID: <1369448666-17515-3-git-send-email-felipe.contreras@gmail.com> In-Reply-To: <1369448666-17515-1-git-send-email-felipe.contreras@gmail.com> Set the maximum number of splits to make when dividing the diff stat lines based on space characters. Signed-off-by: Felipe Contreras --- contrib/remote-helpers/git-remote-bzr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/remote-helpers/git-remote-bzr b/contrib/remote-helpers/git-remote-bzr index 8a4df51..35664c6 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) -- 1.8.3.rc3.312.g47657de