CommitView: Also read in new objects with null-separator

This commit is contained in:
Pieter de Bie
2008-10-03 19:06:47 +02:00
parent 36e8f1e5f2
commit 8c59a1249a
+1 -1
View File
@@ -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++;