From 8c59a1249a8ea4675657a5a36e882ce84e9a3ef1 Mon Sep 17 00:00:00 2001 From: Pieter de Bie Date: Fri, 3 Oct 2008 19:06:47 +0200 Subject: [PATCH] CommitView: Also read in new objects with null-separator --- PBGitCommitController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBGitCommitController.m b/PBGitCommitController.m index 594e595..c17957c 100644 --- a/PBGitCommitController.m +++ b/PBGitCommitController.m @@ -68,7 +68,7 @@ [nc removeObserver:self]; // Other files - NSArray *arguments = [NSArray arrayWithObjects:@"ls-files", @"--others", @"--exclude-standard", nil]; + NSArray *arguments = [NSArray arrayWithObjects:@"ls-files", @"--others", @"--exclude-standard", @"-z", nil]; NSFileHandle *handle = [repository handleInWorkDirForArguments:arguments]; [nc addObserver:self selector:@selector(readOtherFiles:) name:NSFileHandleReadToEndOfFileCompletionNotification object:handle]; self.busy++;