Remove deprecated targetCommitAndReturnError by phatblat · Pull Request #512 · libgit2/objective-git

Skip to content

Navigation Menu

Sign in

Appearance settings

Conversation

Conflicts with the non-deprecated method in Swift 2 (Xcode 7b6)

error: ambiguous use of 'targetCommit()'
                    let gt_commit = try! gt_branch.targetCommit()
                                         ^
ObjectiveGit.GTBranch:38:14: note: found this candidate
  @objc func targetCommit() throws -> GTCommit
             ^
ObjectiveGit.GTBranch:86:14: note: found this candidate
  @objc func targetCommit() throws -> GTCommit

joshaber added a commit that referenced this pull request

Aug 31, 2015
Remove deprecated targetCommitAndReturnError

@phatblat phatblat deleted the ben/targetCommitAndReturnError branch

August 31, 2015 16:52