GitRevList: replace 'id' with PBGitRepository

This commit is contained in:
Pieter de Bie
2009-09-07 23:05:57 +02:00
parent d59745294d
commit 86ea9b5469
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -8,14 +8,15 @@
#import <Cocoa/Cocoa.h>
@class PBGitRepository;
@interface PBGitRevList : NSObject {
NSArray* commits;
id repository;
PBGitRepository *repository;
NSString* lastSha;
}
- initWithRepository:(id)repo;
- initWithRepository:(PBGitRepository *)repo;
- (void) readCommitsForce: (BOOL) force;
- (void) reload;
+1 -1
View File
@@ -23,7 +23,7 @@ using namespace std;
@implementation PBGitRevList
@synthesize commits;
- initWithRepository: (id) repo
- (id)initWithRepository:(PBGitRepository *)repo
{
repository = repo;
[repository addObserver:self forKeyPath:@"currentBranch" options:0 context:nil];