{"action":"created","issue":{"url":"https://api.github.com/repos/libgit2/libgit2/issues/4919","repository_url":"https://api.github.com/repos/libgit2/libgit2","labels_url":"https://api.github.com/repos/libgit2/libgit2/issues/4919/labels{/name}","comments_url":"https://api.github.com/repos/libgit2/libgit2/issues/4919/comments","events_url":"https://api.github.com/repos/libgit2/libgit2/issues/4919/events","html_url":"https://github.com/libgit2/libgit2/pull/4919","id":395180168,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxNjk0Mzcx","number":4919,"title":"Shutdown callback count","user":{"login":"pks-t","id":4056630,"node_id":"MDQ6VXNlcjQwNTY2MzA=","avatar_url":"https://avatars1.githubusercontent.com/u/4056630?v=4","gravatar_id":"","url":"https://api.github.com/users/pks-t","html_url":"https://github.com/pks-t","followers_url":"https://api.github.com/users/pks-t/followers","following_url":"https://api.github.com/users/pks-t/following{/other_user}","gists_url":"https://api.github.com/users/pks-t/gists{/gist_id}","starred_url":"https://api.github.com/users/pks-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pks-t/subscriptions","organizations_url":"https://api.github.com/users/pks-t/orgs","repos_url":"https://api.github.com/users/pks-t/repos","events_url":"https://api.github.com/users/pks-t/events{/privacy}","received_events_url":"https://api.github.com/users/pks-t/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-01-02T08:45:34Z","updated_at":"2019-01-03T12:02:20Z","closed_at":"2019-01-03T12:02:07Z","author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/libgit2/libgit2/pulls/4919","html_url":"https://github.com/libgit2/libgit2/pull/4919","diff_url":"https://github.com/libgit2/libgit2/pull/4919.diff","patch_url":"https://github.com/libgit2/libgit2/pull/4919.patch"},"body":"It randomly occurred to me that we can avoid manually updating the `MAX_SHUTDOWN_CB` macro whenever we add a new global initializer by just declaring the initializers as an array and then using the initializer array's size to declare the shutdown array. This PR does exactly that as a small cleanup."},"comment":{"url":"https://api.github.com/repos/libgit2/libgit2/issues/comments/451124576","html_url":"https://github.com/libgit2/libgit2/pull/4919#issuecomment-451124576","issue_url":"https://api.github.com/repos/libgit2/libgit2/issues/4919","id":451124576,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTEyNDU3Ng==","user":{"login":"ethomson","id":1130014,"node_id":"MDQ6VXNlcjExMzAwMTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1130014?v=4","gravatar_id":"","url":"https://api.github.com/users/ethomson","html_url":"https://github.com/ethomson","followers_url":"https://api.github.com/users/ethomson/followers","following_url":"https://api.github.com/users/ethomson/following{/other_user}","gists_url":"https://api.github.com/users/ethomson/gists{/gist_id}","starred_url":"https://api.github.com/users/ethomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethomson/subscriptions","organizations_url":"https://api.github.com/users/ethomson/orgs","repos_url":"https://api.github.com/users/ethomson/repos","events_url":"https://api.github.com/users/ethomson/events{/privacy}","received_events_url":"https://api.github.com/users/ethomson/received_events","type":"User","site_admin":false},"created_at":"2019-01-03T12:02:20Z","updated_at":"2019-01-03T12:02:20Z","author_association":"MEMBER","body":"👍 "}}
{"actor":{"display_login":"ethomson"}}