Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

PBGitConfig: Change name of -initWithRepository:

Better indicates the information needed and stops a compiler warning about wrong type (there are other initWithRepository: methods that take a different type).
  • Loading branch information...
commit 1c4601dd5229516ddcba9c6e8b0486efd9f21324 1 parent 370c132
@brotherbard authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  PBGitConfig.h
  2. +1 −1  PBGitConfig.m
  3. +1 −1  PBGitRepository.m
View
2  PBGitConfig.h
@@ -15,5 +15,5 @@
}
- init;
-- initWithRepository:(NSString *)path;
+- initWithRepositoryPath:(NSString *)path;
@end
View
2  PBGitConfig.m
@@ -17,7 +17,7 @@ @implementation PBGitConfig
return self;
}
-- initWithRepository:(NSString *)path
+- initWithRepositoryPath:(NSString *)path
{
repositoryPath = path;
return self;
View
2  PBGitRepository.m
@@ -118,7 +118,7 @@ - (BOOL)readFromURL:(NSURL *)absoluteURL ofType:(NSString *)typeName error:(NSEr
- (void) setup
{
- config = [[PBGitConfig alloc] initWithRepository:self.fileURL.path];
+ config = [[PBGitConfig alloc] initWithRepositoryPath:[[self fileURL] path]];
self.branches = [NSMutableArray array];
[self reloadRefs];
revisionList = [[PBGitRevList alloc] initWithRepository:self];
Please sign in to comment.
Something went wrong with that request. Please try again.