{"action":"opened","number":354,"pull_request":{"url":"https://api.github.com/repos/documentationjs/documentation/pulls/354","id":59311382,"html_url":"https://github.com/documentationjs/documentation/pull/354","diff_url":"https://github.com/documentationjs/documentation/pull/354.diff","patch_url":"https://github.com/documentationjs/documentation/pull/354.patch","issue_url":"https://api.github.com/repos/documentationjs/documentation/issues/354","number":354,"state":"open","locked":false,"title":"Don't crash if .git is there but .git/HEAD isn't. Fixes #329","user":{"login":"tmcw","id":32314,"avatar_url":"https://avatars.githubusercontent.com/u/32314?v=3","gravatar_id":"","url":"https://api.github.com/users/tmcw","html_url":"https://github.com/tmcw","followers_url":"https://api.github.com/users/tmcw/followers","following_url":"https://api.github.com/users/tmcw/following{/other_user}","gists_url":"https://api.github.com/users/tmcw/gists{/gist_id}","starred_url":"https://api.github.com/users/tmcw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmcw/subscriptions","organizations_url":"https://api.github.com/users/tmcw/orgs","repos_url":"https://api.github.com/users/tmcw/repos","events_url":"https://api.github.com/users/tmcw/events{/privacy}","received_events_url":"https://api.github.com/users/tmcw/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-15T00:32:24Z","updated_at":"2016-02-15T00:32:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/documentationjs/documentation/pulls/354/commits","review_comments_url":"https://api.github.com/repos/documentationjs/documentation/pulls/354/comments","review_comment_url":"https://api.github.com/repos/documentationjs/documentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/documentationjs/documentation/issues/354/comments","statuses_url":"https://api.github.com/repos/documentationjs/documentation/statuses/21b1c62c42439f4b349b90a7df121422772d43b2","head":{"label":"documentationjs:safer-git","ref":"safer-git","sha":"21b1c62c42439f4b349b90a7df121422772d43b2","user":{"login":"documentationjs","id":11415556,"avatar_url":"https://avatars.githubusercontent.com/u/11415556?v=3","gravatar_id":"","url":"https://api.github.com/users/documentationjs","html_url":"https://github.com/documentationjs","followers_url":"https://api.github.com/users/documentationjs/followers","following_url":"https://api.github.com/users/documentationjs/following{/other_user}","gists_url":"https://api.github.com/users/documentationjs/gists{/gist_id}","starred_url":"https://api.github.com/users/documentationjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/documentationjs/subscriptions","organizations_url":"https://api.github.com/users/documentationjs/orgs","repos_url":"https://api.github.com/users/documentationjs/repos","events_url":"https://api.github.com/users/documentationjs/events{/privacy}","received_events_url":"https://api.github.com/users/documentationjs/received_events","type":"Organization","site_admin":false},"repo":{"id":31936600,"name":"documentation","full_name":"documentationjs/documentation","owner":{"login":"documentationjs","id":11415556,"avatar_url":"https://avatars.githubusercontent.com/u/11415556?v=3","gravatar_id":"","url":"https://api.github.com/users/documentationjs","html_url":"https://github.com/documentationjs","followers_url":"https://api.github.com/users/documentationjs/followers","following_url":"https://api.github.com/users/documentationjs/following{/other_user}","gists_url":"https://api.github.com/users/documentationjs/gists{/gist_id}","starred_url":"https://api.github.com/users/documentationjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/documentationjs/subscriptions","organizations_url":"https://api.github.com/users/documentationjs/orgs","repos_url":"https://api.github.com/users/documentationjs/repos","events_url":"https://api.github.com/users/documentationjs/events{/privacy}","received_events_url":"https://api.github.com/users/documentationjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/documentationjs/documentation","description":"beautiful, flexible, powerful js docs","fork":false,"url":"https://api.github.com/repos/documentationjs/documentation","forks_url":"https://api.github.com/repos/documentationjs/documentation/forks","keys_url":"https://api.github.com/repos/documentationjs/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/documentationjs/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/documentationjs/documentation/teams","hooks_url":"https://api.github.com/repos/documentationjs/documentation/hooks","issue_events_url":"https://api.github.com/repos/documentationjs/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/documentationjs/documentation/events","assignees_url":"https://api.github.com/repos/documentationjs/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/documentationjs/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/documentationjs/documentation/tags","blobs_url":"https://api.github.com/repos/documentationjs/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/documentationjs/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/documentationjs/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/documentationjs/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/documentationjs/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/documentationjs/documentation/languages","stargazers_url":"https://api.github.com/repos/documentationjs/documentation/stargazers","contributors_url":"https://api.github.com/repos/documentationjs/documentation/contributors","subscribers_url":"https://api.github.com/repos/documentationjs/documentation/subscribers","subscription_url":"https://api.github.com/repos/documentationjs/documentation/subscription","commits_url":"https://api.github.com/repos/documentationjs/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/documentationjs/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/documentationjs/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/documentationjs/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/documentationjs/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/documentationjs/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/documentationjs/documentation/merges","archive_url":"https://api.github.com/repos/documentationjs/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/documentationjs/documentation/downloads","issues_url":"https://api.github.com/repos/documentationjs/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/documentationjs/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/documentationjs/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/documentationjs/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/documentationjs/documentation/labels{/name}","releases_url":"https://api.github.com/repos/documentationjs/documentation/releases{/id}","deployments_url":"https://api.github.com/repos/documentationjs/documentation/deployments","created_at":"2015-03-10T03:34:09Z","updated_at":"2016-02-14T10:53:01Z","pushed_at":"2016-02-15T00:32:09Z","git_url":"git://github.com/documentationjs/documentation.git","ssh_url":"git@github.com:documentationjs/documentation.git","clone_url":"https://github.com/documentationjs/documentation.git","svn_url":"https://github.com/documentationjs/documentation","homepage":"http://documentation.js.org/","size":1006,"stargazers_count":1627,"watchers_count":1627,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":67,"forks":49,"open_issues":67,"watchers":1627,"default_branch":"master"}},"base":{"label":"documentationjs:master","ref":"master","sha":"df96427db77f15118ccc17cfcb02056d5020ffb3","user":{"login":"documentationjs","id":11415556,"avatar_url":"https://avatars.githubusercontent.com/u/11415556?v=3","gravatar_id":"","url":"https://api.github.com/users/documentationjs","html_url":"https://github.com/documentationjs","followers_url":"https://api.github.com/users/documentationjs/followers","following_url":"https://api.github.com/users/documentationjs/following{/other_user}","gists_url":"https://api.github.com/users/documentationjs/gists{/gist_id}","starred_url":"https://api.github.com/users/documentationjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/documentationjs/subscriptions","organizations_url":"https://api.github.com/users/documentationjs/orgs","repos_url":"https://api.github.com/users/documentationjs/repos","events_url":"https://api.github.com/users/documentationjs/events{/privacy}","received_events_url":"https://api.github.com/users/documentationjs/received_events","type":"Organization","site_admin":false},"repo":{"id":31936600,"name":"documentation","full_name":"documentationjs/documentation","owner":{"login":"documentationjs","id":11415556,"avatar_url":"https://avatars.githubusercontent.com/u/11415556?v=3","gravatar_id":"","url":"https://api.github.com/users/documentationjs","html_url":"https://github.com/documentationjs","followers_url":"https://api.github.com/users/documentationjs/followers","following_url":"https://api.github.com/users/documentationjs/following{/other_user}","gists_url":"https://api.github.com/users/documentationjs/gists{/gist_id}","starred_url":"https://api.github.com/users/documentationjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/documentationjs/subscriptions","organizations_url":"https://api.github.com/users/documentationjs/orgs","repos_url":"https://api.github.com/users/documentationjs/repos","events_url":"https://api.github.com/users/documentationjs/events{/privacy}","received_events_url":"https://api.github.com/users/documentationjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/documentationjs/documentation","description":"beautiful, flexible, powerful js docs","fork":false,"url":"https://api.github.com/repos/documentationjs/documentation","forks_url":"https://api.github.com/repos/documentationjs/documentation/forks","keys_url":"https://api.github.com/repos/documentationjs/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/documentationjs/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/documentationjs/documentation/teams","hooks_url":"https://api.github.com/repos/documentationjs/documentation/hooks","issue_events_url":"https://api.github.com/repos/documentationjs/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/documentationjs/documentation/events","assignees_url":"https://api.github.com/repos/documentationjs/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/documentationjs/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/documentationjs/documentation/tags","blobs_url":"https://api.github.com/repos/documentationjs/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/documentationjs/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/documentationjs/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/documentationjs/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/documentationjs/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/documentationjs/documentation/languages","stargazers_url":"https://api.github.com/repos/documentationjs/documentation/stargazers","contributors_url":"https://api.github.com/repos/documentationjs/documentation/contributors","subscribers_url":"https://api.github.com/repos/documentationjs/documentation/subscribers","subscription_url":"https://api.github.com/repos/documentationjs/documentation/subscription","commits_url":"https://api.github.com/repos/documentationjs/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/documentationjs/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/documentationjs/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/documentationjs/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/documentationjs/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/documentationjs/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/documentationjs/documentation/merges","archive_url":"https://api.github.com/repos/documentationjs/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/documentationjs/documentation/downloads","issues_url":"https://api.github.com/repos/documentationjs/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/documentationjs/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/documentationjs/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/documentationjs/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/documentationjs/documentation/labels{/name}","releases_url":"https://api.github.com/repos/documentationjs/documentation/releases{/id}","deployments_url":"https://api.github.com/repos/documentationjs/documentation/deployments","created_at":"2015-03-10T03:34:09Z","updated_at":"2016-02-14T10:53:01Z","pushed_at":"2016-02-15T00:32:09Z","git_url":"git://github.com/documentationjs/documentation.git","ssh_url":"git@github.com:documentationjs/documentation.git","clone_url":"https://github.com/documentationjs/documentation.git","svn_url":"https://github.com/documentationjs/documentation","homepage":"http://documentation.js.org/","size":1006,"stargazers_count":1627,"watchers_count":1627,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":67,"forks":49,"open_issues":67,"watchers":1627,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/documentationjs/documentation/pulls/354"},"html":{"href":"https://github.com/documentationjs/documentation/pull/354"},"issue":{"href":"https://api.github.com/repos/documentationjs/documentation/issues/354"},"comments":{"href":"https://api.github.com/repos/documentationjs/documentation/issues/354/comments"},"review_comments":{"href":"https://api.github.com/repos/documentationjs/documentation/pulls/354/comments"},"review_comment":{"href":"https://api.github.com/repos/documentationjs/documentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/documentationjs/documentation/pulls/354/commits"},"statuses":{"href":"https://api.github.com/repos/documentationjs/documentation/statuses/21b1c62c42439f4b349b90a7df121422772d43b2"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":47,"deletions":12,"changed_files":4}}