mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Don't show tags anymore in branch menu
This was accidentally added after the xib splitting
This commit is contained in:
+4
-3
@@ -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];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user