Skip to content

Commit 7911b67

Browse files
committed
[8] Repos initialized with git-svn break the app
1 parent 74897cf commit 7911b67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PBGitSidebarController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ - (void) observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(
171171
-(void)evaluateRemoteBadge:(PBGitSVRemoteItem *)remote
172172
{
173173
DLog(@"remote.title=%@",[remote title]);
174-
[remote setAlert:[self remoteNeedFetch:[remote title]]];
174+
if([remote isKindOfClass:[PBGitSVRemoteItem class]])
175+
[remote setAlert:[self remoteNeedFetch:[remote title]]];
175176
}
176177

177178
-(NSNumber *)countCommintsOf:(NSString *)range

0 commit comments

Comments
 (0)