File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,11 +53,13 @@ final class RepositoryFocusRefreshTracker: NSObject { // swiftlint:disable:this
5353@ objc ( PBHistoryRefreshSelectionPolicy )
5454final class HistoryRefreshSelectionPolicy : NSObject { // swiftlint:disable:this unused_declaration
5555 @ objc ( shouldFollowCheckedOutBranchWithStageSelected : viewedRef : previousHeadRef : )
56+ // Called through PBHistoryRefreshSelectionPolicy's Objective-C selector.
57+ // swiftlint:disable:next unused_declaration
5658 static func shouldFollowCheckedOutBranch (
5759 stageSelected : Bool ,
5860 viewedRef : String ? ,
5961 previousHeadRef : String ?
60- ) -> Bool { // swiftlint:disable:this unused_declaration
62+ ) -> Bool {
6163 ! stageSelected && viewedRef != nil && viewedRef == previousHeadRef
6264 }
6365}
Original file line number Diff line number Diff line change 1- import Cocoa
1+ // NSArrayController is resolved through the Objective-C runtime when the nib loads.
2+ import Cocoa // swiftlint:disable:this unused_import
23
34/// Keeps the mutable Working State row pinned above the arranged commit list.
45@ objc ( PBHistoryArrayController )
5- final class PBHistoryArrayController : NSArrayController {
6+ final class PBHistoryArrayController : NSArrayController { // swiftlint:disable:this unused_declaration
67 private var storedPinnedObject : Any ?
78
89 @ objc dynamic var pinnedObject : Any ? {
You can’t perform that action at this time.
0 commit comments