Skip to content

Commit 3f779b3

Browse files
committed
Remove spurious logging
1 parent 7d4bb1d commit 3f779b3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Classes/git/PBGitIndex.m

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,6 @@ - (void)refresh
135135
arguments:@[@"update-index", @"-q", @"--unmerged", @"--ignore-missing", @"--refresh"]
136136
inDirectory:self.repository.workingDirectoryURL.path
137137
terminationHandler:^(NSTask *task, NSError *error) {
138-
NSLog(@"task %@ (%p)", [task arguments][0], task);
139-
140138
if (task.terminationStatus != 0)
141139
{
142140
[[NSNotificationCenter defaultCenter] postNotificationName:PBGitIndexIndexRefreshFailed
@@ -190,7 +188,6 @@ - (void)refresh
190188
arguments:@[@"ls-files", @"--others", @"--exclude-standard", @"-z"]
191189
inDirectory:self.repository.workingDirectoryURL.path
192190
completionHandler:^(NSTask *task, NSData *readData, NSError *error) {
193-
NSLog(@"task %@ (%p), %@", [task arguments][0], task, [[NSString alloc] initWithData:readData encoding:NSUTF8StringEncoding]);
194191
NSArray *lines = [self linesFromData:readData];
195192
NSMutableDictionary *dictionary = [[NSMutableDictionary alloc] initWithCapacity:[lines count]];
196193
// Other files are untracked, so we don't have any real index information. Instead, we can just fake it.
@@ -214,7 +211,6 @@ - (void)refresh
214211
arguments:@[@"diff-index", @"--cached", @"-z", [self parentTree]]
215212
inDirectory:self.repository.workingDirectoryURL.path
216213
completionHandler:^(NSTask *task, NSData *readData, NSError *error) {
217-
NSLog(@"task %@ (%p), %@", [task arguments][0], task, [[NSString alloc] initWithData:readData encoding:NSUTF8StringEncoding]);
218214
NSArray *lines = [self linesFromData:readData];
219215
NSMutableDictionary *dic = [self dictionaryForLines:lines];
220216
[self addFilesFromDictionary:dic staged:YES tracked:YES];
@@ -229,7 +225,6 @@ - (void)refresh
229225
arguments:@[@"diff-files", @"-z"]
230226
inDirectory:self.repository.workingDirectoryURL.path
231227
completionHandler:^(NSTask *task, NSData *readData, NSError *error) {
232-
NSLog(@"task %@ (%p), %@", [task arguments][0], task, [[NSString alloc] initWithData:readData encoding:NSUTF8StringEncoding]);
233228
NSArray *lines = [self linesFromData:readData];
234229
NSMutableDictionary *dic = [self dictionaryForLines:lines];
235230
[self addFilesFromDictionary:dic staged:NO tracked:YES];

0 commit comments

Comments
 (0)