libgit2/git2go — pull request #43 by carlosmn (2013-09-21 22:21:55+00:00)
Title: [RFC] Wrap errors

Instead of locking the thread, what we can do is wrap each function in
such a way that we can get back an error object without fear that
switching threads once back in Go-land will make us lose the right
one.