diff --git a/PBGitRepository.h b/PBGitRepository.h index 6248897..2cae1d6 100644 --- a/PBGitRepository.h +++ b/PBGitRepository.h @@ -14,15 +14,11 @@ PBGitRevList* revisionList; } -+ (void) setGitPath; - + (PBGitRepository*) repositoryWithPath:(NSString*) path; - (PBGitRepository*) initWithPath:(NSString*) path; - (NSFileHandle*) handleForCommand:(NSString*) cmd; - (NSFileHandle*) handleForArguments:(NSArray*) args; -- (void) initializeCommits; -- (void) addCommit: (id)obj; @property (copy) NSString* path; @property (readonly) PBGitRevList* revisionList; diff --git a/PBGitRepository.m b/PBGitRepository.m index 6c6f927..d59c8bb 100644 --- a/PBGitRepository.m +++ b/PBGitRepository.m @@ -14,7 +14,7 @@ @implementation PBGitRepository -@synthesize path; +@synthesize path, revisionList; static NSString* gitPath; + (void) initialize