Skip to content

Commit

Permalink
Access the handle with the right accessor
Browse files Browse the repository at this point in the history
  • Loading branch information
guillep committed Aug 2, 2018
1 parent bacd816 commit 1dee75f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ API-commits
revparse: aName

self handleLibgitError: [ | gitCommit gitId |
gitId := (handle revparse: aName) object id.
gitCommit := LGitCommit of: handle fromId: gitId.
gitId := (self repositoryHandle revparse: aName) object id.
gitCommit := LGitCommit of: self repositoryHandle fromId: gitId.
^ self commitFromGitCommit: gitCommit ]

0 comments on commit 1dee75f

Please sign in to comment.