Skip to content

Commit cb59e86

Browse files
Deleted stash commands from ref menu
1 parent 7deb309 commit cb59e86

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

PBRefMenuItem.m

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -141,16 +141,6 @@ + (NSArray *) defaultMenuItemsForRef:(PBGitRef *)ref inRepository:(PBGitReposito
141141
[item setTarget:target];
142142
[item setRefish:ref];
143143
}
144-
145-
NSArray *cmds = [PBStashCommandFactory commandsForObject:ref repository:repo];
146-
if ([cmds count] > 0) {
147-
for (PBCommand *cmd in cmds) {
148-
PBCommandMenuItem *item = [[PBCommandMenuItem alloc] initWithCommand:cmd];
149-
[item setEnabled:YES];
150-
[items addObject:item];
151-
[item release];
152-
}
153-
}
154144

155145
return items;
156146
}

0 commit comments

Comments
 (0)