|
79 | 79 |
|
80 | 80 | // Pull |
81 | 81 | __block BOOL transferProgressed = NO; |
82 | | - BOOL result = [localRepo pullBranch:masterBranch fromRemote:remote withOptions:nil error:&error progress:^(const git_transfer_progress *progress, BOOL *stop) { |
| 82 | + BOOL result = [localRepo pullBranch:masterBranch fromRemote:remote withOptions:nil error:&error progress:^(const git_indexer_progress *progress, BOOL *stop) { |
83 | 83 | transferProgressed = YES; |
84 | 84 | }]; |
85 | 85 | expect(error).to(beNil()); |
|
124 | 124 |
|
125 | 125 | // Pull |
126 | 126 | __block BOOL transferProgressed = NO; |
127 | | - BOOL result = [localRepo pullBranch:masterBranch fromRemote:remote withOptions:nil error:&error progress:^(const git_transfer_progress *progress, BOOL *stop) { |
| 127 | + BOOL result = [localRepo pullBranch:masterBranch fromRemote:remote withOptions:nil error:&error progress:^(const git_indexer_progress *progress, BOOL *stop) { |
128 | 128 | transferProgressed = YES; |
129 | 129 | }]; |
130 | 130 | expect(@(result)).to(beTruthy()); |
|
165 | 165 |
|
166 | 166 | // Pull |
167 | 167 | __block BOOL transferProgressed = NO; |
168 | | - BOOL result = [localRepo pullBranch:masterBranch fromRemote:remote withOptions:nil error:&error progress:^(const git_transfer_progress *progress, BOOL *stop) { |
| 168 | + BOOL result = [localRepo pullBranch:masterBranch fromRemote:remote withOptions:nil error:&error progress:^(const git_indexer_progress *progress, BOOL *stop) { |
169 | 169 | transferProgressed = YES; |
170 | 170 | }]; |
171 | 171 | expect(error).to(beNil()); |
|
219 | 219 |
|
220 | 220 | // Pull |
221 | 221 | __block BOOL transferProgressed = NO; |
222 | | - BOOL result = [localRepo pullBranch:masterBranch fromRemote:remote withOptions:nil error:&error progress:^(const git_transfer_progress *progress, BOOL *stop) { |
| 222 | + BOOL result = [localRepo pullBranch:masterBranch fromRemote:remote withOptions:nil error:&error progress:^(const git_indexer_progress *progress, BOOL *stop) { |
223 | 223 | transferProgressed = YES; |
224 | 224 | }]; |
225 | 225 | expect(@(result)).to(beTruthy()); |
|
251 | 251 |
|
252 | 252 | // Pull |
253 | 253 | __block BOOL transferProgressed = NO; |
254 | | - BOOL result = [localRepo pullBranch:masterBranch fromRemote:remote withOptions:nil error:&error progress:^(const git_transfer_progress *progress, BOOL *stop) { |
| 254 | + BOOL result = [localRepo pullBranch:masterBranch fromRemote:remote withOptions:nil error:&error progress:^(const git_indexer_progress *progress, BOOL *stop) { |
255 | 255 | transferProgressed = YES; |
256 | 256 | }]; |
257 | 257 | NSString *fileContents = [NSString stringWithContentsOfURL:[localRepo.fileURL URLByAppendingPathComponent:@"test.txt"] encoding:NSUTF8StringEncoding error:nil]; |
|
0 commit comments