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 66// Copyright 2008 __MyCompanyName__. All rights reserved.
77//
88
9- @class PBGitRepository;
109@class PBGitCommit;
1110
1211@interface PBGitGrapher : NSObject
1312
14- - (id )initWithRepository : (PBGitRepository *)repo ;
1513- (void )decorateCommit : (PBGitCommit *)commit ;
1614
1715@end
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ @interface PBGitGrapher ()
3434
3535@implementation PBGitGrapher
3636
37- - (id ) initWithRepository : (PBGitRepository*) repo
37+ - (id ) init
3838{
3939 self = [super init ];
4040 if (!self) {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ - (instancetype)initWithBaseCommits:(NSSet *)commits viewAllBranches:(BOOL)viewA
2121 delegate = theDelegate;
2222 currentQueue = queue;
2323 searchOIDs = [NSMutableSet setWithSet: commits];
24- grapher = [[PBGitGrapher alloc ] initWithRepository: nil ];
24+ grapher = [[PBGitGrapher alloc ] init ];
2525 viewAllBranches = viewAll;
2626
2727 return self;
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ - (void)setupEnumerator:(GTEnumerator *)enumerator
195195
196196- (void )addCommitsFromEnumerator : (GTEnumerator *)enumerator inPBRepo : (PBGitRepository *)pbRepo operation : (NSOperation *)operation
197197{
198- PBGitGrapher *g = [[PBGitGrapher alloc ] initWithRepository: pbRepo ];
198+ PBGitGrapher *g = [[PBGitGrapher alloc ] init ];
199199 __block NSDate *lastUpdate = [NSDate date ];
200200
201201 dispatch_queue_t loadQueue = dispatch_queue_create (" net.phere.gitx.loadQueue" , 0 );
You can’t perform that action at this time.
0 commit comments