Skip to content

Commit 86ea9b5

Browse files
committed
GitRevList: replace 'id' with PBGitRepository
1 parent d597452 commit 86ea9b5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

PBGitRevList.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@
88

99
#import <Cocoa/Cocoa.h>
1010

11+
@class PBGitRepository;
1112

1213
@interface PBGitRevList : NSObject {
1314
NSArray* commits;
14-
id repository;
15+
PBGitRepository *repository;
1516
NSString* lastSha;
1617
}
1718

18-
- initWithRepository:(id)repo;
19+
- initWithRepository:(PBGitRepository *)repo;
1920
- (void) readCommitsForce: (BOOL) force;
2021
- (void) reload;
2122

PBGitRevList.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@implementation PBGitRevList
2424

2525
@synthesize commits;
26-
- initWithRepository: (id) repo
26+
- (id)initWithRepository:(PBGitRepository *)repo
2727
{
2828
repository = repo;
2929
[repository addObserver:self forKeyPath:@"currentBranch" options:0 context:nil];

0 commit comments

Comments
 (0)