{"action":"created","issue":{"url":"https://api.github.com/repos/libgit2/libgit2/issues/2949","labels_url":"https://api.github.com/repos/libgit2/libgit2/issues/2949/labels{/name}","comments_url":"https://api.github.com/repos/libgit2/libgit2/issues/2949/comments","events_url":"https://api.github.com/repos/libgit2/libgit2/issues/2949/events","html_url":"https://github.com/libgit2/libgit2/issues/2949","id":59803195,"number":2949,"title":"We should provide an annotated version for `set_head()` and `set_head_detached()`","user":{"login":"carlosmn","id":335443,"avatar_url":"https://avatars.githubusercontent.com/u/335443?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosmn","html_url":"https://github.com/carlosmn","followers_url":"https://api.github.com/users/carlosmn/followers","following_url":"https://api.github.com/users/carlosmn/following{/other_user}","gists_url":"https://api.github.com/users/carlosmn/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosmn/subscriptions","organizations_url":"https://api.github.com/users/carlosmn/orgs","repos_url":"https://api.github.com/users/carlosmn/repos","events_url":"https://api.github.com/users/carlosmn/events{/privacy}","received_events_url":"https://api.github.com/users/carlosmn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/libgit2/libgit2/labels/up%20for%20grabs","name":"up for grabs","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-04T14:17:56Z","updated_at":"2015-03-04T20:58:51Z","closed_at":null,"body":"We currently accept an id, which means the message we create is as though a user passed in an exact object id on the command-line. This will often not be the case.\r\n\r\nProviding variants of these functions which accept an annotated commit would let us write to the reflog a message which includes the string the user provided."},"comment":{"url":"https://api.github.com/repos/libgit2/libgit2/issues/comments/77245869","html_url":"https://github.com/libgit2/libgit2/issues/2949#issuecomment-77245869","issue_url":"https://api.github.com/repos/libgit2/libgit2/issues/2949","id":77245869,"user":{"login":"nulltoken","id":92363,"avatar_url":"https://avatars.githubusercontent.com/u/92363?v=3","gravatar_id":"","url":"https://api.github.com/users/nulltoken","html_url":"https://github.com/nulltoken","followers_url":"https://api.github.com/users/nulltoken/followers","following_url":"https://api.github.com/users/nulltoken/following{/other_user}","gists_url":"https://api.github.com/users/nulltoken/gists{/gist_id}","starred_url":"https://api.github.com/users/nulltoken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nulltoken/subscriptions","organizations_url":"https://api.github.com/users/nulltoken/orgs","repos_url":"https://api.github.com/users/nulltoken/repos","events_url":"https://api.github.com/users/nulltoken/events{/privacy}","received_events_url":"https://api.github.com/users/nulltoken/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T20:58:51Z","updated_at":"2015-03-04T20:58:51Z","body":"Things we maybe should honor as well\r\n\r\n```\r\nbranch: Created from test\r\nbranch: Created from refs/tags/test\r\nbranch: Created from be3563a\r\ncheckout: moving from 6dcf9bf7541ee10456529833502442f385010c3d to e90810^{}\r\ncheckout: moving from master to 6dcf9bf\r\ncheckout: moving from master to refs/tags/lw\r\ncheckout: moving from master to HEAD~2\r\n```"}}