Permalink
Browse files

GitRevList: replace 'id' with PBGitRepository

  • Loading branch information...
1 parent d597452 commit 86ea9b5469bf07e46582e8df0999eb46b0903561 @pieter committed Sep 7, 2009
Showing with 4 additions and 3 deletions.
  1. +3 −2 PBGitRevList.h
  2. +1 −1 PBGitRevList.mm
View
@@ -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;
View
@@ -23,7 +23,7 @@
@implementation PBGitRevList
@synthesize commits;
-- initWithRepository: (id) repo
+- (id)initWithRepository:(PBGitRepository *)repo
{
repository = repo;
[repository addObserver:self forKeyPath:@"currentBranch" options:0 context:nil];

0 comments on commit 86ea9b5

Please sign in to comment.