We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e340fd5 commit 3526fe7Copy full SHA for 3526fe7
ObjectiveGit/GTRepository.m
@@ -434,10 +434,7 @@ - (NSArray *)branches:(NSError **)error {
434
435
NSMutableArray *branches = [NSMutableArray array];
436
for (GTBranch *branch in localBranches) {
437
- BOOL success = NO;
438
- GTBranch *trackingBranch = [branch trackingBranchWithError:error success:&success];
439
- if (!success) continue;
440
-
+ GTBranch *trackingBranch = [branch trackingBranchWithError:NULL success:NULL];
441
[remoteBranches removeObject:trackingBranch];
442
[branches addObject:branch];
443
}
0 commit comments