Skip to content

Commit 1c430c9

Browse files
committed
Remove deprecated methods
1 parent 1722a2d commit 1c430c9

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

Classes/git/PBGitRepository.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,6 @@ typedef enum branchFilterTypes {
8484

8585
- (NSURL *) gitURL ;
8686

87-
- (BOOL)executeHook:(NSString *)name output:(NSString **)output GITX_DEPRECATED;
88-
- (BOOL)executeHook:(NSString *)name withArgs:(NSArray*) arguments output:(NSString **)output GITX_DEPRECATED;
89-
9087
- (BOOL)executeHook:(NSString *)name error:(NSError **)error;
9188
- (BOOL)executeHook:(NSString *)name arguments:(NSArray *)arguments error:(NSError **)error;
9289
- (BOOL)executeHook:(NSString *)name arguments:(NSArray *)arguments output:(NSString **)outputPtr error:(NSError **)error;

Classes/git/PBGitRepository.m

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,14 +1061,6 @@ - (GTSubmodule *)submoduleAtPath:(NSString *)path error:(NSError **)error;
10611061

10621062
#pragma mark Hooks
10631063

1064-
- (BOOL)executeHook:(NSString *)name output:(NSString **)output {
1065-
return [self executeHook:name withArgs:[NSArray array] output:output];
1066-
}
1067-
1068-
- (BOOL)executeHook:(NSString *)name withArgs:(NSArray *)arguments output:(NSString **)outputPtr {
1069-
return [self executeHook:name arguments:arguments output:outputPtr error:NULL];
1070-
}
1071-
10721064
- (BOOL)executeHook:(NSString *)name error:(NSError **)error {
10731065
return [self executeHook:name arguments:@[] error:error];
10741066
}

0 commit comments

Comments
 (0)