diff options
| author | Jesse Ezell <[email protected]> | 2014-02-26 08:45:44 -0800 |
|---|---|---|
| committer | Jesse Ezell <[email protected]> | 2014-02-26 08:45:44 -0800 |
| commit | baf4a8433663f87e2732f9c2632a070221f166f2 (patch) | |
| tree | 2e8ec293db11776d4f6dd448c6f426c8491bc864 /commit.go | |
| parent | fe509411a5e8bd45a1c5607d1cc212d8ebf45541 (diff) | |
| parent | 1c1f7bd1fab3be4a1274149292979bea4ee8aadf (diff) | |
Merge branch 'master' of https://github.com/libgit2/git2go into add-branch-lookup
Diffstat (limited to 'commit.go')
| -rw-r--r-- | commit.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ func (c Commit) Tree() (*Tree, error) { err := C.git_commit_tree(&ptr, c.ptr) if err < 0 { - return nil, LastError() + return nil, MakeGitError(err) } return allocObject(ptr).(*Tree), nil |
