We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d597452 commit 86ea9b5Copy full SHA for 86ea9b5
PBGitRevList.h
@@ -8,14 +8,15 @@
8
9
#import <Cocoa/Cocoa.h>
10
11
+@class PBGitRepository;
12
13
@interface PBGitRevList : NSObject {
14
NSArray* commits;
- id repository;
15
+ PBGitRepository *repository;
16
NSString* lastSha;
17
}
18
-- initWithRepository:(id)repo;
19
+- initWithRepository:(PBGitRepository *)repo;
20
- (void) readCommitsForce: (BOOL) force;
21
- (void) reload;
22
PBGitRevList.mm
@@ -23,7 +23,7 @@
23
@implementation PBGitRevList
24
25
@synthesize commits;
26
-- initWithRepository: (id) repo
+- (id)initWithRepository:(PBGitRepository *)repo
27
{
28
repository = repo;
29
[repository addObserver:self forKeyPath:@"currentBranch" options:0 context:nil];
0 commit comments