File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ - (IBAction) stashViewDiff:(PBRefMenuItem *)sender
217
217
218
218
#pragma mark Tags
219
219
220
- - (void ) showTagInfoSheet : (PBRefMenuItem *)sender
220
+ - (IBAction ) showTagInfoSheet : (PBRefMenuItem *)sender
221
221
{
222
222
id <PBGitRefish> refish = sender.refishs .firstObject ;
223
223
if ([refish refishType ] != kGitXTagType )
@@ -301,12 +301,12 @@ - (void)deleteRefSheetDidEnd:(NSAlert *)sheet returnCode:(int)returnCode context
301
301
302
302
- (NSArray <NSMenuItem *> *) menuItemsForRef : (PBGitRef *)ref
303
303
{
304
- return [PBRefMenuItem defaultMenuItemsForRef: ref inRepository: historyController.repository target: self ];
304
+ return [PBRefMenuItem defaultMenuItemsForRef: ref inRepository: historyController.repository target: nil ];
305
305
}
306
306
307
307
- (NSArray <NSMenuItem *> *) menuItemsForCommits : (NSArray <PBGitCommit *> *)commits
308
308
{
309
- return [PBRefMenuItem defaultMenuItemsForCommits: commits target: self ];
309
+ return [PBRefMenuItem defaultMenuItemsForCommits: commits target: nil ];
310
310
}
311
311
312
312
- (NSArray <NSMenuItem *> *)menuItemsForRow : (NSInteger )rowIndex
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ + (PBRefMenuItem *) separatorItem
66
66
67
67
+ (NSArray <NSMenuItem *> *) defaultMenuItemsForRef : (PBGitRef *)ref inRepository : (PBGitRepository *)repo target : (id )target
68
68
{
69
- if (!ref || !repo || !target ) {
69
+ if (!ref || !repo) {
70
70
return nil ;
71
71
}
72
72
You can’t perform that action at this time.
0 commit comments