{"issue":{"created_at":"2011-11-21T23:44:55Z","state":"open","updated_at":"2011-11-22T14:31:23Z","user":{"gravatar_id":"646f93bc836cf451d36d935239e9d325","id":440517,"url":"https://api.github.com/users/antis81","login":"antis81","avatar_url":"https://secure.gravatar.com/avatar/646f93bc836cf451d36d935239e9d325?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":6,"body":"Would be nice if you merge these, otherwise I have to merge your master all the time.","assignee":null,"id":2311174,"pull_request":{"patch_url":"https://github.com/ropez/libqgit2/pull/2.patch","html_url":"https://github.com/ropez/libqgit2/pull/2","diff_url":"https://github.com/ropez/libqgit2/pull/2.diff"},"number":2,"labels":[],"title":"Added isValid method for QGitOId class and using const lookup methods","closed_at":null,"html_url":"https://github.com/ropez/libqgit2/issues/2","url":"https://api.github.com/repos/ropez/libqgit2/issues/2","milestone":null},"action":"created","comment":{"created_at":"2011-11-22T14:31:23Z","updated_at":"2011-11-22T14:31:23Z","user":{"gravatar_id":"646f93bc836cf451d36d935239e9d325","id":440517,"url":"https://api.github.com/users/antis81","login":"antis81","avatar_url":"https://secure.gravatar.com/avatar/646f93bc836cf451d36d935239e9d325?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Thanks for the answer.Well, I'm not a friend of Exception handling, not using it at all in most cases. Think of the following Situation. Someone did a fresh \"git init\" and opens the repo. HEAD is not pointing to anything, right? But the repo is valid. So I would throw an Exception, telling the user that something is wrong - but it's really nothing wrong at all. there's just no history to show.","id":2834878,"url":"https://api.github.com/repos/ropez/libqgit2/issues/comments/2834878"}}