Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

GitRevList: replace 'id' with PBGitRepository

  • Loading branch information...
commit 86ea9b5469bf07e46582e8df0999eb46b0903561 1 parent d597452
Pieter de Bie authored September 07, 2009
5  PBGitRevList.h
@@ -8,14 +8,15 @@
8 8
 
9 9
 #import <Cocoa/Cocoa.h>
10 10
 
  11
+@class PBGitRepository;
11 12
 
12 13
 @interface PBGitRevList : NSObject {
13 14
 	NSArray* commits;
14  
-	id repository;
  15
+	PBGitRepository *repository;
15 16
 	NSString* lastSha;
16 17
 }
17 18
 
18  
-- initWithRepository:(id)repo;
  19
+- initWithRepository:(PBGitRepository *)repo;
19 20
 - (void) readCommitsForce: (BOOL) force;
20 21
 - (void) reload;
21 22
 
2  PBGitRevList.mm
@@ -23,7 +23,7 @@
23 23
 @implementation PBGitRevList
24 24
 
25 25
 @synthesize commits;
26  
-- initWithRepository: (id) repo
  26
+- (id)initWithRepository:(PBGitRepository *)repo
27 27
 {
28 28
 	repository = repo;
29 29
 	[repository addObserver:self forKeyPath:@"currentBranch" options:0 context:nil];

0 notes on commit 86ea9b5

Please sign in to comment.
Something went wrong with that request. Please try again.