Skip to content

Commit 3526fe7

Browse files
committed
Keep on swimming.
1 parent e340fd5 commit 3526fe7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ObjectiveGit/GTRepository.m

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -434,10 +434,7 @@ - (NSArray *)branches:(NSError **)error {
434434

435435
NSMutableArray *branches = [NSMutableArray array];
436436
for (GTBranch *branch in localBranches) {
437-
BOOL success = NO;
438-
GTBranch *trackingBranch = [branch trackingBranchWithError:error success:&success];
439-
if (!success) continue;
440-
437+
GTBranch *trackingBranch = [branch trackingBranchWithError:NULL success:NULL];
441438
[remoteBranches removeObject:trackingBranch];
442439
[branches addObject:branch];
443440
}

0 commit comments

Comments
 (0)