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 e1836bb commit 800a143Copy full SHA for 800a143
PBWebHistoryController.m
@@ -88,9 +88,7 @@ - (void)commitDetailsLoaded:(NSNotification *)notification
88
NSArray *refsA=[historyController.webCommit refs];
89
NSString *currentRef=[[[historyController repository] headRef] simpleRef];
90
NSString *style=@"";
91
- int r=0;
92
- for(r=0;r<[refsA count];r++){
93
- PBGitRef *ref=[refsA objectAtIndex:r];
+ for(PBGitRef *ref in refsA){
94
if([currentRef isEqualToString:[ref ref]]){
95
style=[NSString stringWithFormat:@"currentBranch refs %@",[ref type]];
96
}else{
0 commit comments