File tree Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 6
6
// Copyright 2008 __MyCompanyName__. All rights reserved.
7
7
//
8
8
9
- @class PBGitRepository;
10
9
@class PBGitCommit;
11
10
12
11
@interface PBGitGrapher : NSObject
13
12
14
- - (id )initWithRepository : (PBGitRepository *)repo ;
15
13
- (void )decorateCommit : (PBGitCommit *)commit ;
16
14
17
15
@end
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ @interface PBGitGrapher ()
34
34
35
35
@implementation PBGitGrapher
36
36
37
- - (id ) initWithRepository : (PBGitRepository*) repo
37
+ - (id ) init
38
38
{
39
39
self = [super init ];
40
40
if (!self) {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ - (instancetype)initWithBaseCommits:(NSSet *)commits viewAllBranches:(BOOL)viewA
21
21
delegate = theDelegate;
22
22
currentQueue = queue;
23
23
searchOIDs = [NSMutableSet setWithSet: commits];
24
- grapher = [[PBGitGrapher alloc ] initWithRepository: nil ];
24
+ grapher = [[PBGitGrapher alloc ] init ];
25
25
viewAllBranches = viewAll;
26
26
27
27
return self;
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ - (void)setupEnumerator:(GTEnumerator *)enumerator
195
195
196
196
- (void )addCommitsFromEnumerator : (GTEnumerator *)enumerator inPBRepo : (PBGitRepository *)pbRepo operation : (NSOperation *)operation
197
197
{
198
- PBGitGrapher *g = [[PBGitGrapher alloc ] initWithRepository: pbRepo ];
198
+ PBGitGrapher *g = [[PBGitGrapher alloc ] init ];
199
199
__block NSDate *lastUpdate = [NSDate date ];
200
200
201
201
dispatch_queue_t loadQueue = dispatch_queue_create (" net.phere.gitx.loadQueue" , 0 );
You can’t perform that action at this time.
0 commit comments