File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 56
56
- (IBAction ) cloneTo : (id )sender ;
57
57
- (IBAction ) refresh : (id )sender ;
58
58
59
- - (void )selectCommitForSha : (NSString *)sha ;
59
+ - (void )selectCommitForSha : (NSString *)sha ;
60
+ - (NSArray *)menuItemsForPaths : (NSArray *)paths ;
60
61
- (void )setHistorySearch : (NSString *)searchString mode : (NSInteger )mode ;
61
62
62
63
@end
Original file line number Diff line number Diff line change @@ -241,6 +241,11 @@ - (void) selectCommitForSha:(NSString *)sha
241
241
[sidebarController.historyViewController selectCommit: sha];
242
242
}
243
243
244
+ - (NSArray *) menuItemsForPaths : (NSArray *)paths
245
+ {
246
+ return [sidebarController.historyViewController menuItemsForPaths: paths];
247
+ }
248
+
244
249
- (void )setHistorySearch : (NSString *)searchString mode : (NSInteger )mode
245
250
{
246
251
[sidebarController setHistorySearch: searchString mode: mode];
Original file line number Diff line number Diff line change @@ -16,8 +16,7 @@ - (void)selectCommit:(NSString *)sha
16
16
17
17
- (NSArray *) menuItemsForPath : (NSString *)path
18
18
{
19
- // return [[stashController superController] menuItemsForPaths:[NSArray arrayWithObject:path]];
20
- return nil ;
19
+ return [[stashController superController ] menuItemsForPaths: [NSArray arrayWithObject: path]];
21
20
}
22
21
23
22
@end
You can’t perform that action at this time.
0 commit comments