{"action":"created","issue":{"url":"https://api.github.com/repos/tarmolov/git-hooks-js/issues/21","repository_url":"https://api.github.com/repos/tarmolov/git-hooks-js","labels_url":"https://api.github.com/repos/tarmolov/git-hooks-js/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/tarmolov/git-hooks-js/issues/21/comments","events_url":"https://api.github.com/repos/tarmolov/git-hooks-js/issues/21/events","html_url":"https://github.com/tarmolov/git-hooks-js/pull/21","id":175021966,"number":21,"title":"Pass standard input through to all hooks","user":{"login":"getsnoopy","id":2997884,"avatar_url":"https://avatars.githubusercontent.com/u/2997884?v=3","gravatar_id":"","url":"https://api.github.com/users/getsnoopy","html_url":"https://github.com/getsnoopy","followers_url":"https://api.github.com/users/getsnoopy/followers","following_url":"https://api.github.com/users/getsnoopy/following{/other_user}","gists_url":"https://api.github.com/users/getsnoopy/gists{/gist_id}","starred_url":"https://api.github.com/users/getsnoopy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getsnoopy/subscriptions","organizations_url":"https://api.github.com/users/getsnoopy/orgs","repos_url":"https://api.github.com/users/getsnoopy/repos","events_url":"https://api.github.com/users/getsnoopy/events{/privacy}","received_events_url":"https://api.github.com/users/getsnoopy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-05T08:38:03Z","updated_at":"2016-09-11T16:52:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tarmolov/git-hooks-js/pulls/21","html_url":"https://github.com/tarmolov/git-hooks-js/pull/21","diff_url":"https://github.com/tarmolov/git-hooks-js/pull/21.diff","patch_url":"https://github.com/tarmolov/git-hooks-js/pull/21.patch"},"body":"Some git hooks can be passed additional information through\r\nstandard input (e.g., the pre-push hook), so this commit handles\r\nthat properly. Since stream data can be consumed only once but\r\nmultiple hooks may need to use it, capture the stream data once\r\nand pipe it to each child process individually."},"comment":{"url":"https://api.github.com/repos/tarmolov/git-hooks-js/issues/comments/246190446","html_url":"https://github.com/tarmolov/git-hooks-js/pull/21#issuecomment-246190446","issue_url":"https://api.github.com/repos/tarmolov/git-hooks-js/issues/21","id":246190446,"user":{"login":"tarmolov","id":366419,"avatar_url":"https://avatars.githubusercontent.com/u/366419?v=3","gravatar_id":"","url":"https://api.github.com/users/tarmolov","html_url":"https://github.com/tarmolov","followers_url":"https://api.github.com/users/tarmolov/followers","following_url":"https://api.github.com/users/tarmolov/following{/other_user}","gists_url":"https://api.github.com/users/tarmolov/gists{/gist_id}","starred_url":"https://api.github.com/users/tarmolov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarmolov/subscriptions","organizations_url":"https://api.github.com/users/tarmolov/orgs","repos_url":"https://api.github.com/users/tarmolov/repos","events_url":"https://api.github.com/users/tarmolov/events{/privacy}","received_events_url":"https://api.github.com/users/tarmolov/received_events","type":"User","site_admin":false},"created_at":"2016-09-11T16:52:22Z","updated_at":"2016-09-11T16:52:22Z","body":"It's better to add an extra test to check that input is passed properly to the hook."}}
{"actor":{"display_login":"tarmolov"}}