Skip to content

Commit f579c20

Browse files
committed
Merge branch 'fix/kill-ref-controller'
2 parents 534ea2d + 9bf1a41 commit f579c20

16 files changed

+416
-574
lines changed

Classes/Controllers/PBGitHistoryController.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
@class PBGitSidebarController;
1616
@class PBWebHistoryController;
1717
@class PBGitGradientBarView;
18-
@class PBRefController;
1918
@class PBCommitList;
2019
@class GLFileView;
2120
@class GTOID;
@@ -27,7 +26,6 @@ NS_ASSUME_NONNULL_BEGIN
2726

2827
@property (readonly) NSArrayController *commitController;
2928
@property (readonly) NSTreeController *treeController;
30-
@property (readonly) PBRefController *refController;
3129
@property (readonly) PBHistorySearchController *searchController;
3230

3331
@property (assign) NSInteger selectedCommitDetailsIndex;
@@ -70,5 +68,12 @@ NS_ASSUME_NONNULL_BEGIN
7068

7169
@end
7270

71+
@interface PBGitHistoryController (PBContextMenu)
72+
73+
- (NSArray *)menuItemsForRef:(PBGitRef *)refs;
74+
- (NSArray *)menuItemsForCommits:(NSArray<PBGitCommit *> *)commits;
75+
76+
@end
77+
7378
NS_ASSUME_NONNULL_END
7479

0 commit comments

Comments
 (0)