modernize loop

This commit is contained in:
David Catmull
2011-06-05 17:11:53 -06:00
parent e1836bb02a
commit 800a143b04
+1 -3
View File
@@ -88,9 +88,7 @@
NSArray *refsA=[historyController.webCommit refs];
NSString *currentRef=[[[historyController repository] headRef] simpleRef];
NSString *style=@"";
int r=0;
for(r=0;r<[refsA count];r++){
PBGitRef *ref=[refsA objectAtIndex:r];
for(PBGitRef *ref in refsA){
if([currentRef isEqualToString:[ref ref]]){
style=[NSString stringWithFormat:@"currentBranch refs %@",[ref type]];
}else{