File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -150,8 +150,7 @@ - (void) observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(
150
150
[sourceView reloadData ];
151
151
}else if ([@" updateRefs" isEqualToString: context]) {
152
152
for (PBGitSVRemoteItem* remote in [remotes children ]){
153
- NSLog (@" remote.title=%@ " ,[remote title ]);
154
- [remote setAlert: [self remoteNeedFetch: [remote title ]]];
153
+ [self performSelectorInBackground: @selector (evaluateRemoteBadge: ) withObject: remote];
155
154
}
156
155
157
156
for (PBGitSVBranchItem* branch in [branches children ]){
@@ -168,6 +167,12 @@ - (void) observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(
168
167
169
168
#pragma mark Badges Methods
170
169
170
+ -(void )evaluateRemoteBadge : (PBGitSVRemoteItem *)remote
171
+ {
172
+ NSLog (@" remote.title=%@ " ,[remote title ]);
173
+ [remote setAlert: [self remoteNeedFetch: [remote title ]]];
174
+ }
175
+
171
176
-(NSNumber *)countCommintsOf : (NSString *)range
172
177
{
173
178
NSArray *args = [NSArray arrayWithObjects: @" rev-list" , range, nil ];
You can’t perform that action at this time.
0 commit comments