Skip to content

Commit b7b2549

Browse files
committed
Merge pull request #512 from phatblat/ben/targetCommitAndReturnError
Remove deprecated targetCommitAndReturnError
2 parents 16046a9 + 03a2485 commit b7b2549

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

ObjectiveGit/GTBranch.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,6 @@ NS_ASSUME_NONNULL_BEGIN
132132
/// Returns whether the calculation was successful.
133133
- (BOOL)calculateAhead:(size_t *)ahead behind:(size_t *)behind relativeTo:(GTBranch *)branch error:(NSError **)error;
134134

135-
#pragma mark Deprecations
136-
- (nullable GTCommit *)targetCommitAndReturnError:(NSError **)error __deprecated_msg("use targetCommitWithError: instead.");
137-
138135
@end
139136

140137
NS_ASSUME_NONNULL_END

ObjectiveGit/GTBranch.m

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,4 @@ - (BOOL)calculateAhead:(size_t *)ahead behind:(size_t *)behind relativeTo:(GTBra
223223
return [self.repository calculateAhead:ahead behind:behind ofOID:self.OID relativeToOID:branch.OID error:error];
224224
}
225225

226-
#pragma mark Deprecations
227-
- (GTCommit *)targetCommitAndReturnError:(NSError **)error {
228-
return [self targetCommitWithError:error];
229-
}
230-
231226
@end

0 commit comments

Comments
 (0)