{"action":"closed","number":367,"pull_request":{"url":"https://api.github.com/repos/nodegit/nodegit/pulls/367","id":27862119,"html_url":"https://github.com/nodegit/nodegit/pull/367","diff_url":"https://github.com/nodegit/nodegit/pull/367.diff","patch_url":"https://github.com/nodegit/nodegit/pull/367.patch","issue_url":"https://api.github.com/repos/nodegit/nodegit/issues/367","number":367,"state":"closed","locked":false,"title":"`Checkout.head` initializes options if none are passed","user":{"login":"johnhaley81","id":867780,"avatar_url":"https://avatars.githubusercontent.com/u/867780?v=3","gravatar_id":"","url":"https://api.github.com/users/johnhaley81","html_url":"https://github.com/johnhaley81","followers_url":"https://api.github.com/users/johnhaley81/followers","following_url":"https://api.github.com/users/johnhaley81/following{/other_user}","gists_url":"https://api.github.com/users/johnhaley81/gists{/gist_id}","starred_url":"https://api.github.com/users/johnhaley81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnhaley81/subscriptions","organizations_url":"https://api.github.com/users/johnhaley81/orgs","repos_url":"https://api.github.com/users/johnhaley81/repos","events_url":"https://api.github.com/users/johnhaley81/events{/privacy}","received_events_url":"https://api.github.com/users/johnhaley81/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-22T17:42:52Z","updated_at":"2015-01-22T18:18:02Z","closed_at":"2015-01-22T18:18:02Z","merged_at":"2015-01-22T18:18:02Z","merge_commit_sha":"4e88e79b9e3d9d9947ba83c7412c39f89bd55256","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nodegit/nodegit/pulls/367/commits","review_comments_url":"https://api.github.com/repos/nodegit/nodegit/pulls/367/comments","review_comment_url":"https://api.github.com/repos/nodegit/nodegit/pulls/comments/{number}","comments_url":"https://api.github.com/repos/nodegit/nodegit/issues/367/comments","statuses_url":"https://api.github.com/repos/nodegit/nodegit/statuses/a06da32faa4327d8ea1b76326eb9d3d809ebdbb6","head":{"label":"nodegit:fix-checkout-head","ref":"fix-checkout-head","sha":"a06da32faa4327d8ea1b76326eb9d3d809ebdbb6","user":{"login":"nodegit","id":657068,"avatar_url":"https://avatars.githubusercontent.com/u/657068?v=3","gravatar_id":"","url":"https://api.github.com/users/nodegit","html_url":"https://github.com/nodegit","followers_url":"https://api.github.com/users/nodegit/followers","following_url":"https://api.github.com/users/nodegit/following{/other_user}","gists_url":"https://api.github.com/users/nodegit/gists{/gist_id}","starred_url":"https://api.github.com/users/nodegit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodegit/subscriptions","organizations_url":"https://api.github.com/users/nodegit/orgs","repos_url":"https://api.github.com/users/nodegit/repos","events_url":"https://api.github.com/users/nodegit/events{/privacy}","received_events_url":"https://api.github.com/users/nodegit/received_events","type":"Organization","site_admin":false},"repo":{"id":1383170,"name":"nodegit","full_name":"nodegit/nodegit","owner":{"login":"nodegit","id":657068,"avatar_url":"https://avatars.githubusercontent.com/u/657068?v=3","gravatar_id":"","url":"https://api.github.com/users/nodegit","html_url":"https://github.com/nodegit","followers_url":"https://api.github.com/users/nodegit/followers","following_url":"https://api.github.com/users/nodegit/following{/other_user}","gists_url":"https://api.github.com/users/nodegit/gists{/gist_id}","starred_url":"https://api.github.com/users/nodegit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodegit/subscriptions","organizations_url":"https://api.github.com/users/nodegit/orgs","repos_url":"https://api.github.com/users/nodegit/repos","events_url":"https://api.github.com/users/nodegit/events{/privacy}","received_events_url":"https://api.github.com/users/nodegit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodegit/nodegit","description":"Native Node bindings to Git.","fork":false,"url":"https://api.github.com/repos/nodegit/nodegit","forks_url":"https://api.github.com/repos/nodegit/nodegit/forks","keys_url":"https://api.github.com/repos/nodegit/nodegit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodegit/nodegit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodegit/nodegit/teams","hooks_url":"https://api.github.com/repos/nodegit/nodegit/hooks","issue_events_url":"https://api.github.com/repos/nodegit/nodegit/issues/events{/number}","events_url":"https://api.github.com/repos/nodegit/nodegit/events","assignees_url":"https://api.github.com/repos/nodegit/nodegit/assignees{/user}","branches_url":"https://api.github.com/repos/nodegit/nodegit/branches{/branch}","tags_url":"https://api.github.com/repos/nodegit/nodegit/tags","blobs_url":"https://api.github.com/repos/nodegit/nodegit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodegit/nodegit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodegit/nodegit/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodegit/nodegit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodegit/nodegit/statuses/{sha}","languages_url":"https://api.github.com/repos/nodegit/nodegit/languages","stargazers_url":"https://api.github.com/repos/nodegit/nodegit/stargazers","contributors_url":"https://api.github.com/repos/nodegit/nodegit/contributors","subscribers_url":"https://api.github.com/repos/nodegit/nodegit/subscribers","subscription_url":"https://api.github.com/repos/nodegit/nodegit/subscription","commits_url":"https://api.github.com/repos/nodegit/nodegit/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodegit/nodegit/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodegit/nodegit/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodegit/nodegit/issues/comments/{number}","contents_url":"https://api.github.com/repos/nodegit/nodegit/contents/{+path}","compare_url":"https://api.github.com/repos/nodegit/nodegit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodegit/nodegit/merges","archive_url":"https://api.github.com/repos/nodegit/nodegit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodegit/nodegit/downloads","issues_url":"https://api.github.com/repos/nodegit/nodegit/issues{/number}","pulls_url":"https://api.github.com/repos/nodegit/nodegit/pulls{/number}","milestones_url":"https://api.github.com/repos/nodegit/nodegit/milestones{/number}","notifications_url":"https://api.github.com/repos/nodegit/nodegit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodegit/nodegit/labels{/name}","releases_url":"https://api.github.com/repos/nodegit/nodegit/releases{/id}","created_at":"2011-02-18T16:42:46Z","updated_at":"2015-01-22T17:36:05Z","pushed_at":"2015-01-22T18:18:02Z","git_url":"git://github.com/nodegit/nodegit.git","ssh_url":"git@github.com:nodegit/nodegit.git","clone_url":"https://github.com/nodegit/nodegit.git","svn_url":"https://github.com/nodegit/nodegit","homepage":"http://www.nodegit.org/","size":19227,"stargazers_count":721,"watchers_count":721,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":98,"mirror_url":null,"open_issues_count":15,"forks":98,"open_issues":15,"watchers":721,"default_branch":"master"}},"base":{"label":"nodegit:master","ref":"master","sha":"0322caec1dd34f39eb771f89c888fdf72015fbe2","user":{"login":"nodegit","id":657068,"avatar_url":"https://avatars.githubusercontent.com/u/657068?v=3","gravatar_id":"","url":"https://api.github.com/users/nodegit","html_url":"https://github.com/nodegit","followers_url":"https://api.github.com/users/nodegit/followers","following_url":"https://api.github.com/users/nodegit/following{/other_user}","gists_url":"https://api.github.com/users/nodegit/gists{/gist_id}","starred_url":"https://api.github.com/users/nodegit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodegit/subscriptions","organizations_url":"https://api.github.com/users/nodegit/orgs","repos_url":"https://api.github.com/users/nodegit/repos","events_url":"https://api.github.com/users/nodegit/events{/privacy}","received_events_url":"https://api.github.com/users/nodegit/received_events","type":"Organization","site_admin":false},"repo":{"id":1383170,"name":"nodegit","full_name":"nodegit/nodegit","owner":{"login":"nodegit","id":657068,"avatar_url":"https://avatars.githubusercontent.com/u/657068?v=3","gravatar_id":"","url":"https://api.github.com/users/nodegit","html_url":"https://github.com/nodegit","followers_url":"https://api.github.com/users/nodegit/followers","following_url":"https://api.github.com/users/nodegit/following{/other_user}","gists_url":"https://api.github.com/users/nodegit/gists{/gist_id}","starred_url":"https://api.github.com/users/nodegit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodegit/subscriptions","organizations_url":"https://api.github.com/users/nodegit/orgs","repos_url":"https://api.github.com/users/nodegit/repos","events_url":"https://api.github.com/users/nodegit/events{/privacy}","received_events_url":"https://api.github.com/users/nodegit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodegit/nodegit","description":"Native Node bindings to Git.","fork":false,"url":"https://api.github.com/repos/nodegit/nodegit","forks_url":"https://api.github.com/repos/nodegit/nodegit/forks","keys_url":"https://api.github.com/repos/nodegit/nodegit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodegit/nodegit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodegit/nodegit/teams","hooks_url":"https://api.github.com/repos/nodegit/nodegit/hooks","issue_events_url":"https://api.github.com/repos/nodegit/nodegit/issues/events{/number}","events_url":"https://api.github.com/repos/nodegit/nodegit/events","assignees_url":"https://api.github.com/repos/nodegit/nodegit/assignees{/user}","branches_url":"https://api.github.com/repos/nodegit/nodegit/branches{/branch}","tags_url":"https://api.github.com/repos/nodegit/nodegit/tags","blobs_url":"https://api.github.com/repos/nodegit/nodegit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodegit/nodegit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodegit/nodegit/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodegit/nodegit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodegit/nodegit/statuses/{sha}","languages_url":"https://api.github.com/repos/nodegit/nodegit/languages","stargazers_url":"https://api.github.com/repos/nodegit/nodegit/stargazers","contributors_url":"https://api.github.com/repos/nodegit/nodegit/contributors","subscribers_url":"https://api.github.com/repos/nodegit/nodegit/subscribers","subscription_url":"https://api.github.com/repos/nodegit/nodegit/subscription","commits_url":"https://api.github.com/repos/nodegit/nodegit/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodegit/nodegit/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodegit/nodegit/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodegit/nodegit/issues/comments/{number}","contents_url":"https://api.github.com/repos/nodegit/nodegit/contents/{+path}","compare_url":"https://api.github.com/repos/nodegit/nodegit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodegit/nodegit/merges","archive_url":"https://api.github.com/repos/nodegit/nodegit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodegit/nodegit/downloads","issues_url":"https://api.github.com/repos/nodegit/nodegit/issues{/number}","pulls_url":"https://api.github.com/repos/nodegit/nodegit/pulls{/number}","milestones_url":"https://api.github.com/repos/nodegit/nodegit/milestones{/number}","notifications_url":"https://api.github.com/repos/nodegit/nodegit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodegit/nodegit/labels{/name}","releases_url":"https://api.github.com/repos/nodegit/nodegit/releases{/id}","created_at":"2011-02-18T16:42:46Z","updated_at":"2015-01-22T17:36:05Z","pushed_at":"2015-01-22T18:18:02Z","git_url":"git://github.com/nodegit/nodegit.git","ssh_url":"git@github.com:nodegit/nodegit.git","clone_url":"https://github.com/nodegit/nodegit.git","svn_url":"https://github.com/nodegit/nodegit","homepage":"http://www.nodegit.org/","size":19227,"stargazers_count":721,"watchers_count":721,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":98,"mirror_url":null,"open_issues_count":15,"forks":98,"open_issues":15,"watchers":721,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nodegit/nodegit/pulls/367"},"html":{"href":"https://github.com/nodegit/nodegit/pull/367"},"issue":{"href":"https://api.github.com/repos/nodegit/nodegit/issues/367"},"comments":{"href":"https://api.github.com/repos/nodegit/nodegit/issues/367/comments"},"review_comments":{"href":"https://api.github.com/repos/nodegit/nodegit/pulls/367/comments"},"review_comment":{"href":"https://api.github.com/repos/nodegit/nodegit/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/nodegit/nodegit/pulls/367/commits"},"statuses":{"href":"https://api.github.com/repos/nodegit/nodegit/statuses/a06da32faa4327d8ea1b76326eb9d3d809ebdbb6"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"johnhaley81","id":867780,"avatar_url":"https://avatars.githubusercontent.com/u/867780?v=3","gravatar_id":"","url":"https://api.github.com/users/johnhaley81","html_url":"https://github.com/johnhaley81","followers_url":"https://api.github.com/users/johnhaley81/followers","following_url":"https://api.github.com/users/johnhaley81/following{/other_user}","gists_url":"https://api.github.com/users/johnhaley81/gists{/gist_id}","starred_url":"https://api.github.com/users/johnhaley81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnhaley81/subscriptions","organizations_url":"https://api.github.com/users/johnhaley81/orgs","repos_url":"https://api.github.com/users/johnhaley81/repos","events_url":"https://api.github.com/users/johnhaley81/events{/privacy}","received_events_url":"https://api.github.com/users/johnhaley81/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":16,"deletions":1,"changed_files":2}}