Don't show tags anymore in branch menu

This was accidentally added after the xib splitting
This commit is contained in:
Pieter de Bie
2008-09-19 21:46:54 +02:00
parent 65a40fe778
commit 7bc7302bd4
+4 -3
View File
@@ -199,10 +199,11 @@ static NSString* gitPath;
// First do the ref matching. If this ref is new, add it to our ref list
PBGitRef *newRef = [PBGitRef refFromString:[components objectAtIndex:0]];
PBGitRevSpecifier* revSpec = [[PBGitRevSpecifier alloc] initWithRef:newRef];
if ([self addBranch:revSpec] == revSpec)
ret = YES;
if ([[newRef type] isEqualToString:@"head"] || [[newRef type] isEqualToString:@"remote"])
if ([self addBranch:revSpec] != revSpec)
ret = YES;
// Also add this ref to the branches list
// Also add this ref to the refs list
[self addRef:newRef fromParameters:components];
}