diff --git a/ObjectiveGit/GTBranch.h b/ObjectiveGit/GTBranch.h index 381b7c6a9..7a5155a8c 100644 --- a/ObjectiveGit/GTBranch.h +++ b/ObjectiveGit/GTBranch.h @@ -132,9 +132,6 @@ NS_ASSUME_NONNULL_BEGIN /// Returns whether the calculation was successful. - (BOOL)calculateAhead:(size_t *)ahead behind:(size_t *)behind relativeTo:(GTBranch *)branch error:(NSError **)error; -#pragma mark Deprecations -- (nullable GTCommit *)targetCommitAndReturnError:(NSError **)error __deprecated_msg("use targetCommitWithError: instead."); - @end NS_ASSUME_NONNULL_END diff --git a/ObjectiveGit/GTBranch.m b/ObjectiveGit/GTBranch.m index af7bfa117..9567a9874 100644 --- a/ObjectiveGit/GTBranch.m +++ b/ObjectiveGit/GTBranch.m @@ -223,9 +223,4 @@ - (BOOL)calculateAhead:(size_t *)ahead behind:(size_t *)behind relativeTo:(GTBra return [self.repository calculateAhead:ahead behind:behind ofOID:self.OID relativeToOID:branch.OID error:error]; } -#pragma mark Deprecations -- (GTCommit *)targetCommitAndReturnError:(NSError **)error { - return [self targetCommitWithError:error]; -} - @end