{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/barisione/clang-format-hooks/pulls/4","id":198112168,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MTEyMTY4","html_url":"https://github.com/barisione/clang-format-hooks/pull/4","diff_url":"https://github.com/barisione/clang-format-hooks/pull/4.diff","patch_url":"https://github.com/barisione/clang-format-hooks/pull/4.patch","issue_url":"https://api.github.com/repos/barisione/clang-format-hooks/issues/4","number":4,"state":"open","locked":false,"title":"Try to detect if in git worktree","user":{"login":"du114rd","id":40668682,"node_id":"MDQ6VXNlcjQwNjY4Njgy","avatar_url":"https://avatars0.githubusercontent.com/u/40668682?v=4","gravatar_id":"","url":"https://api.github.com/users/du114rd","html_url":"https://github.com/du114rd","followers_url":"https://api.github.com/users/du114rd/followers","following_url":"https://api.github.com/users/du114rd/following{/other_user}","gists_url":"https://api.github.com/users/du114rd/gists{/gist_id}","starred_url":"https://api.github.com/users/du114rd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/du114rd/subscriptions","organizations_url":"https://api.github.com/users/du114rd/orgs","repos_url":"https://api.github.com/users/du114rd/repos","events_url":"https://api.github.com/users/du114rd/events{/privacy}","received_events_url":"https://api.github.com/users/du114rd/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-28T18:18:38Z","updated_at":"2018-06-28T18:18:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/barisione/clang-format-hooks/pulls/4/commits","review_comments_url":"https://api.github.com/repos/barisione/clang-format-hooks/pulls/4/comments","review_comment_url":"https://api.github.com/repos/barisione/clang-format-hooks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/barisione/clang-format-hooks/issues/4/comments","statuses_url":"https://api.github.com/repos/barisione/clang-format-hooks/statuses/8b7adf9dddeffac2fd04d7f4fbd6b96c35a310ec","head":{"label":"du114rd:master","ref":"master","sha":"8b7adf9dddeffac2fd04d7f4fbd6b96c35a310ec","user":{"login":"du114rd","id":40668682,"node_id":"MDQ6VXNlcjQwNjY4Njgy","avatar_url":"https://avatars0.githubusercontent.com/u/40668682?v=4","gravatar_id":"","url":"https://api.github.com/users/du114rd","html_url":"https://github.com/du114rd","followers_url":"https://api.github.com/users/du114rd/followers","following_url":"https://api.github.com/users/du114rd/following{/other_user}","gists_url":"https://api.github.com/users/du114rd/gists{/gist_id}","starred_url":"https://api.github.com/users/du114rd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/du114rd/subscriptions","organizations_url":"https://api.github.com/users/du114rd/orgs","repos_url":"https://api.github.com/users/du114rd/repos","events_url":"https://api.github.com/users/du114rd/events{/privacy}","received_events_url":"https://api.github.com/users/du114rd/received_events","type":"User","site_admin":false},"repo":{"id":139034998,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkwMzQ5OTg=","name":"clang-format-hooks","full_name":"du114rd/clang-format-hooks","owner":{"login":"du114rd","id":40668682,"node_id":"MDQ6VXNlcjQwNjY4Njgy","avatar_url":"https://avatars0.githubusercontent.com/u/40668682?v=4","gravatar_id":"","url":"https://api.github.com/users/du114rd","html_url":"https://github.com/du114rd","followers_url":"https://api.github.com/users/du114rd/followers","following_url":"https://api.github.com/users/du114rd/following{/other_user}","gists_url":"https://api.github.com/users/du114rd/gists{/gist_id}","starred_url":"https://api.github.com/users/du114rd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/du114rd/subscriptions","organizations_url":"https://api.github.com/users/du114rd/orgs","repos_url":"https://api.github.com/users/du114rd/repos","events_url":"https://api.github.com/users/du114rd/events{/privacy}","received_events_url":"https://api.github.com/users/du114rd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/du114rd/clang-format-hooks","description":"Apply a coding style with clang-format only to new code added to an existing code base.","fork":true,"url":"https://api.github.com/repos/du114rd/clang-format-hooks","forks_url":"https://api.github.com/repos/du114rd/clang-format-hooks/forks","keys_url":"https://api.github.com/repos/du114rd/clang-format-hooks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/du114rd/clang-format-hooks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/du114rd/clang-format-hooks/teams","hooks_url":"https://api.github.com/repos/du114rd/clang-format-hooks/hooks","issue_events_url":"https://api.github.com/repos/du114rd/clang-format-hooks/issues/events{/number}","events_url":"https://api.github.com/repos/du114rd/clang-format-hooks/events","assignees_url":"https://api.github.com/repos/du114rd/clang-format-hooks/assignees{/user}","branches_url":"https://api.github.com/repos/du114rd/clang-format-hooks/branches{/branch}","tags_url":"https://api.github.com/repos/du114rd/clang-format-hooks/tags","blobs_url":"https://api.github.com/repos/du114rd/clang-format-hooks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/du114rd/clang-format-hooks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/du114rd/clang-format-hooks/git/refs{/sha}","trees_url":"https://api.github.com/repos/du114rd/clang-format-hooks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/du114rd/clang-format-hooks/statuses/{sha}","languages_url":"https://api.github.com/repos/du114rd/clang-format-hooks/languages","stargazers_url":"https://api.github.com/repos/du114rd/clang-format-hooks/stargazers","contributors_url":"https://api.github.com/repos/du114rd/clang-format-hooks/contributors","subscribers_url":"https://api.github.com/repos/du114rd/clang-format-hooks/subscribers","subscription_url":"https://api.github.com/repos/du114rd/clang-format-hooks/subscription","commits_url":"https://api.github.com/repos/du114rd/clang-format-hooks/commits{/sha}","git_commits_url":"https://api.github.com/repos/du114rd/clang-format-hooks/git/commits{/sha}","comments_url":"https://api.github.com/repos/du114rd/clang-format-hooks/comments{/number}","issue_comment_url":"https://api.github.com/repos/du114rd/clang-format-hooks/issues/comments{/number}","contents_url":"https://api.github.com/repos/du114rd/clang-format-hooks/contents/{+path}","compare_url":"https://api.github.com/repos/du114rd/clang-format-hooks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/du114rd/clang-format-hooks/merges","archive_url":"https://api.github.com/repos/du114rd/clang-format-hooks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/du114rd/clang-format-hooks/downloads","issues_url":"https://api.github.com/repos/du114rd/clang-format-hooks/issues{/number}","pulls_url":"https://api.github.com/repos/du114rd/clang-format-hooks/pulls{/number}","milestones_url":"https://api.github.com/repos/du114rd/clang-format-hooks/milestones{/number}","notifications_url":"https://api.github.com/repos/du114rd/clang-format-hooks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/du114rd/clang-format-hooks/labels{/name}","releases_url":"https://api.github.com/repos/du114rd/clang-format-hooks/releases{/id}","deployments_url":"https://api.github.com/repos/du114rd/clang-format-hooks/deployments","created_at":"2018-06-28T15:12:30Z","updated_at":"2018-06-28T18:15:09Z","pushed_at":"2018-06-28T18:15:08Z","git_url":"git://github.com/du114rd/clang-format-hooks.git","ssh_url":"git@github.com:du114rd/clang-format-hooks.git","clone_url":"https://github.com/du114rd/clang-format-hooks.git","svn_url":"https://github.com/du114rd/clang-format-hooks","homepage":"","size":241,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"barisione:master","ref":"master","sha":"e30815f283a2b11231417ebe51890f345ebfeba6","user":{"login":"barisione","id":4679325,"node_id":"MDQ6VXNlcjQ2NzkzMjU=","avatar_url":"https://avatars2.githubusercontent.com/u/4679325?v=4","gravatar_id":"","url":"https://api.github.com/users/barisione","html_url":"https://github.com/barisione","followers_url":"https://api.github.com/users/barisione/followers","following_url":"https://api.github.com/users/barisione/following{/other_user}","gists_url":"https://api.github.com/users/barisione/gists{/gist_id}","starred_url":"https://api.github.com/users/barisione/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barisione/subscriptions","organizations_url":"https://api.github.com/users/barisione/orgs","repos_url":"https://api.github.com/users/barisione/repos","events_url":"https://api.github.com/users/barisione/events{/privacy}","received_events_url":"https://api.github.com/users/barisione/received_events","type":"User","site_admin":false},"repo":{"id":135837237,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU4MzcyMzc=","name":"clang-format-hooks","full_name":"barisione/clang-format-hooks","owner":{"login":"barisione","id":4679325,"node_id":"MDQ6VXNlcjQ2NzkzMjU=","avatar_url":"https://avatars2.githubusercontent.com/u/4679325?v=4","gravatar_id":"","url":"https://api.github.com/users/barisione","html_url":"https://github.com/barisione","followers_url":"https://api.github.com/users/barisione/followers","following_url":"https://api.github.com/users/barisione/following{/other_user}","gists_url":"https://api.github.com/users/barisione/gists{/gist_id}","starred_url":"https://api.github.com/users/barisione/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barisione/subscriptions","organizations_url":"https://api.github.com/users/barisione/orgs","repos_url":"https://api.github.com/users/barisione/repos","events_url":"https://api.github.com/users/barisione/events{/privacy}","received_events_url":"https://api.github.com/users/barisione/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/barisione/clang-format-hooks","description":"Apply a coding style with clang-format only to new code added to an existing code base.","fork":false,"url":"https://api.github.com/repos/barisione/clang-format-hooks","forks_url":"https://api.github.com/repos/barisione/clang-format-hooks/forks","keys_url":"https://api.github.com/repos/barisione/clang-format-hooks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/barisione/clang-format-hooks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/barisione/clang-format-hooks/teams","hooks_url":"https://api.github.com/repos/barisione/clang-format-hooks/hooks","issue_events_url":"https://api.github.com/repos/barisione/clang-format-hooks/issues/events{/number}","events_url":"https://api.github.com/repos/barisione/clang-format-hooks/events","assignees_url":"https://api.github.com/repos/barisione/clang-format-hooks/assignees{/user}","branches_url":"https://api.github.com/repos/barisione/clang-format-hooks/branches{/branch}","tags_url":"https://api.github.com/repos/barisione/clang-format-hooks/tags","blobs_url":"https://api.github.com/repos/barisione/clang-format-hooks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/barisione/clang-format-hooks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/barisione/clang-format-hooks/git/refs{/sha}","trees_url":"https://api.github.com/repos/barisione/clang-format-hooks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/barisione/clang-format-hooks/statuses/{sha}","languages_url":"https://api.github.com/repos/barisione/clang-format-hooks/languages","stargazers_url":"https://api.github.com/repos/barisione/clang-format-hooks/stargazers","contributors_url":"https://api.github.com/repos/barisione/clang-format-hooks/contributors","subscribers_url":"https://api.github.com/repos/barisione/clang-format-hooks/subscribers","subscription_url":"https://api.github.com/repos/barisione/clang-format-hooks/subscription","commits_url":"https://api.github.com/repos/barisione/clang-format-hooks/commits{/sha}","git_commits_url":"https://api.github.com/repos/barisione/clang-format-hooks/git/commits{/sha}","comments_url":"https://api.github.com/repos/barisione/clang-format-hooks/comments{/number}","issue_comment_url":"https://api.github.com/repos/barisione/clang-format-hooks/issues/comments{/number}","contents_url":"https://api.github.com/repos/barisione/clang-format-hooks/contents/{+path}","compare_url":"https://api.github.com/repos/barisione/clang-format-hooks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/barisione/clang-format-hooks/merges","archive_url":"https://api.github.com/repos/barisione/clang-format-hooks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/barisione/clang-format-hooks/downloads","issues_url":"https://api.github.com/repos/barisione/clang-format-hooks/issues{/number}","pulls_url":"https://api.github.com/repos/barisione/clang-format-hooks/pulls{/number}","milestones_url":"https://api.github.com/repos/barisione/clang-format-hooks/milestones{/number}","notifications_url":"https://api.github.com/repos/barisione/clang-format-hooks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/barisione/clang-format-hooks/labels{/name}","releases_url":"https://api.github.com/repos/barisione/clang-format-hooks/releases{/id}","deployments_url":"https://api.github.com/repos/barisione/clang-format-hooks/deployments","created_at":"2018-06-02T17:13:55Z","updated_at":"2018-06-14T19:58:33Z","pushed_at":"2018-06-14T19:58:32Z","git_url":"git://github.com/barisione/clang-format-hooks.git","ssh_url":"git@github.com:barisione/clang-format-hooks.git","clone_url":"https://github.com/barisione/clang-format-hooks.git","svn_url":"https://github.com/barisione/clang-format-hooks","homepage":"","size":241,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":1,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/barisione/clang-format-hooks/pulls/4"},"html":{"href":"https://github.com/barisione/clang-format-hooks/pull/4"},"issue":{"href":"https://api.github.com/repos/barisione/clang-format-hooks/issues/4"},"comments":{"href":"https://api.github.com/repos/barisione/clang-format-hooks/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/barisione/clang-format-hooks/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/barisione/clang-format-hooks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/barisione/clang-format-hooks/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/barisione/clang-format-hooks/statuses/8b7adf9dddeffac2fd04d7f4fbd6b96c35a310ec"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":25,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"du114rd"}}