{"action":"created","comment":{"url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/pulls/comments/57570596","id":57570596,"diff_hunk":"@@ -18,6 +18,9 @@ optimist.boolean('single-thread');\n optimist.boolean('changes');\n optimist.default('changes', false);\n \n+optimist.string('git-remote');\n+optimist.default('git-remote', 'origin');","path":"src/index.ts","position":5,"original_position":5,"commit_id":"670c819f9ec4b3adeeb9bf0ea644fbb684a21299","original_commit_id":"670c819f9ec4b3adeeb9bf0ea644fbb684a21299","user":{"login":"jdonaghue","id":78551,"avatar_url":"https://avatars.githubusercontent.com/u/78551?v=3","gravatar_id":"","url":"https://api.github.com/users/jdonaghue","html_url":"https://github.com/jdonaghue","followers_url":"https://api.github.com/users/jdonaghue/followers","following_url":"https://api.github.com/users/jdonaghue/following{/other_user}","gists_url":"https://api.github.com/users/jdonaghue/gists{/gist_id}","starred_url":"https://api.github.com/users/jdonaghue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdonaghue/subscriptions","organizations_url":"https://api.github.com/users/jdonaghue/orgs","repos_url":"https://api.github.com/users/jdonaghue/repos","events_url":"https://api.github.com/users/jdonaghue/events{/privacy}","received_events_url":"https://api.github.com/users/jdonaghue/received_events","type":"User","site_admin":false},"body":"is your remote named `origin`? I am assuming yes because that is the default behavior, but just double checking.","created_at":"2016-03-28T13:23:49Z","updated_at":"2016-03-28T13:23:49Z","html_url":"https://github.com/DefinitelyTyped/definition-tester/pull/18#discussion_r57570596","pull_request_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/DefinitelyTyped/definition-tester/pulls/comments/57570596"},"html":{"href":"https://github.com/DefinitelyTyped/definition-tester/pull/18#discussion_r57570596"},"pull_request":{"href":"https://api.github.com/repos/DefinitelyTyped/definition-tester/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/pulls/18","id":63564283,"html_url":"https://github.com/DefinitelyTyped/definition-tester/pull/18","diff_url":"https://github.com/DefinitelyTyped/definition-tester/pull/18.diff","patch_url":"https://github.com/DefinitelyTyped/definition-tester/pull/18.patch","issue_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/issues/18","number":18,"state":"open","locked":false,"title":"Change GitChanges so it compares against the remote","user":{"login":"jdonaghue","id":78551,"avatar_url":"https://avatars.githubusercontent.com/u/78551?v=3","gravatar_id":"","url":"https://api.github.com/users/jdonaghue","html_url":"https://github.com/jdonaghue","followers_url":"https://api.github.com/users/jdonaghue/followers","following_url":"https://api.github.com/users/jdonaghue/following{/other_user}","gists_url":"https://api.github.com/users/jdonaghue/gists{/gist_id}","starred_url":"https://api.github.com/users/jdonaghue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdonaghue/subscriptions","organizations_url":"https://api.github.com/users/jdonaghue/orgs","repos_url":"https://api.github.com/users/jdonaghue/repos","events_url":"https://api.github.com/users/jdonaghue/events{/privacy}","received_events_url":"https://api.github.com/users/jdonaghue/received_events","type":"User","site_admin":false},"body":"The previous version was comparing against HEAD~1 which would:\r\nA. Miss any changes prior to that of the last commit that had not yet been pushed\r\nB. Grab changes not necessarily made by the current user (for example\r\nif the current user only had staged changes but no commits, HEAD~1 would grab\r\nthose changes as well as the changes from the last commit)","created_at":"2016-03-21T13:35:41Z","updated_at":"2016-03-28T13:23:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2cd0d6cd3e4988866500ff5c7e3fa091873155e8","assignee":{"login":"vvakame","id":125332,"avatar_url":"https://avatars.githubusercontent.com/u/125332?v=3","gravatar_id":"","url":"https://api.github.com/users/vvakame","html_url":"https://github.com/vvakame","followers_url":"https://api.github.com/users/vvakame/followers","following_url":"https://api.github.com/users/vvakame/following{/other_user}","gists_url":"https://api.github.com/users/vvakame/gists{/gist_id}","starred_url":"https://api.github.com/users/vvakame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvakame/subscriptions","organizations_url":"https://api.github.com/users/vvakame/orgs","repos_url":"https://api.github.com/users/vvakame/repos","events_url":"https://api.github.com/users/vvakame/events{/privacy}","received_events_url":"https://api.github.com/users/vvakame/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/pulls/18/commits","review_comments_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/pulls/18/comments","review_comment_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/issues/18/comments","statuses_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/statuses/670c819f9ec4b3adeeb9bf0ea644fbb684a21299","head":{"label":"jdonaghue:master","ref":"master","sha":"670c819f9ec4b3adeeb9bf0ea644fbb684a21299","user":{"login":"jdonaghue","id":78551,"avatar_url":"https://avatars.githubusercontent.com/u/78551?v=3","gravatar_id":"","url":"https://api.github.com/users/jdonaghue","html_url":"https://github.com/jdonaghue","followers_url":"https://api.github.com/users/jdonaghue/followers","following_url":"https://api.github.com/users/jdonaghue/following{/other_user}","gists_url":"https://api.github.com/users/jdonaghue/gists{/gist_id}","starred_url":"https://api.github.com/users/jdonaghue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdonaghue/subscriptions","organizations_url":"https://api.github.com/users/jdonaghue/orgs","repos_url":"https://api.github.com/users/jdonaghue/repos","events_url":"https://api.github.com/users/jdonaghue/events{/privacy}","received_events_url":"https://api.github.com/users/jdonaghue/received_events","type":"User","site_admin":false},"repo":{"id":54346813,"name":"definition-tester","full_name":"jdonaghue/definition-tester","owner":{"login":"jdonaghue","id":78551,"avatar_url":"https://avatars.githubusercontent.com/u/78551?v=3","gravatar_id":"","url":"https://api.github.com/users/jdonaghue","html_url":"https://github.com/jdonaghue","followers_url":"https://api.github.com/users/jdonaghue/followers","following_url":"https://api.github.com/users/jdonaghue/following{/other_user}","gists_url":"https://api.github.com/users/jdonaghue/gists{/gist_id}","starred_url":"https://api.github.com/users/jdonaghue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdonaghue/subscriptions","organizations_url":"https://api.github.com/users/jdonaghue/orgs","repos_url":"https://api.github.com/users/jdonaghue/repos","events_url":"https://api.github.com/users/jdonaghue/events{/privacy}","received_events_url":"https://api.github.com/users/jdonaghue/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jdonaghue/definition-tester","description":"DefinitelyTyped repository testing infrastructure","fork":true,"url":"https://api.github.com/repos/jdonaghue/definition-tester","forks_url":"https://api.github.com/repos/jdonaghue/definition-tester/forks","keys_url":"https://api.github.com/repos/jdonaghue/definition-tester/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jdonaghue/definition-tester/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jdonaghue/definition-tester/teams","hooks_url":"https://api.github.com/repos/jdonaghue/definition-tester/hooks","issue_events_url":"https://api.github.com/repos/jdonaghue/definition-tester/issues/events{/number}","events_url":"https://api.github.com/repos/jdonaghue/definition-tester/events","assignees_url":"https://api.github.com/repos/jdonaghue/definition-tester/assignees{/user}","branches_url":"https://api.github.com/repos/jdonaghue/definition-tester/branches{/branch}","tags_url":"https://api.github.com/repos/jdonaghue/definition-tester/tags","blobs_url":"https://api.github.com/repos/jdonaghue/definition-tester/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jdonaghue/definition-tester/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jdonaghue/definition-tester/git/refs{/sha}","trees_url":"https://api.github.com/repos/jdonaghue/definition-tester/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jdonaghue/definition-tester/statuses/{sha}","languages_url":"https://api.github.com/repos/jdonaghue/definition-tester/languages","stargazers_url":"https://api.github.com/repos/jdonaghue/definition-tester/stargazers","contributors_url":"https://api.github.com/repos/jdonaghue/definition-tester/contributors","subscribers_url":"https://api.github.com/repos/jdonaghue/definition-tester/subscribers","subscription_url":"https://api.github.com/repos/jdonaghue/definition-tester/subscription","commits_url":"https://api.github.com/repos/jdonaghue/definition-tester/commits{/sha}","git_commits_url":"https://api.github.com/repos/jdonaghue/definition-tester/git/commits{/sha}","comments_url":"https://api.github.com/repos/jdonaghue/definition-tester/comments{/number}","issue_comment_url":"https://api.github.com/repos/jdonaghue/definition-tester/issues/comments{/number}","contents_url":"https://api.github.com/repos/jdonaghue/definition-tester/contents/{+path}","compare_url":"https://api.github.com/repos/jdonaghue/definition-tester/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jdonaghue/definition-tester/merges","archive_url":"https://api.github.com/repos/jdonaghue/definition-tester/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jdonaghue/definition-tester/downloads","issues_url":"https://api.github.com/repos/jdonaghue/definition-tester/issues{/number}","pulls_url":"https://api.github.com/repos/jdonaghue/definition-tester/pulls{/number}","milestones_url":"https://api.github.com/repos/jdonaghue/definition-tester/milestones{/number}","notifications_url":"https://api.github.com/repos/jdonaghue/definition-tester/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jdonaghue/definition-tester/labels{/name}","releases_url":"https://api.github.com/repos/jdonaghue/definition-tester/releases{/id}","deployments_url":"https://api.github.com/repos/jdonaghue/definition-tester/deployments","created_at":"2016-03-20T23:49:55Z","updated_at":"2016-03-20T23:49:56Z","pushed_at":"2016-03-21T13:33:11Z","git_url":"git://github.com/jdonaghue/definition-tester.git","ssh_url":"git@github.com:jdonaghue/definition-tester.git","clone_url":"https://github.com/jdonaghue/definition-tester.git","svn_url":"https://github.com/jdonaghue/definition-tester","homepage":null,"size":198,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DefinitelyTyped:master","ref":"master","sha":"4155bdf6815de593f51b2ce5949b04069d973552","user":{"login":"DefinitelyTyped","id":3637556,"avatar_url":"https://avatars.githubusercontent.com/u/3637556?v=3","gravatar_id":"","url":"https://api.github.com/users/DefinitelyTyped","html_url":"https://github.com/DefinitelyTyped","followers_url":"https://api.github.com/users/DefinitelyTyped/followers","following_url":"https://api.github.com/users/DefinitelyTyped/following{/other_user}","gists_url":"https://api.github.com/users/DefinitelyTyped/gists{/gist_id}","starred_url":"https://api.github.com/users/DefinitelyTyped/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefinitelyTyped/subscriptions","organizations_url":"https://api.github.com/users/DefinitelyTyped/orgs","repos_url":"https://api.github.com/users/DefinitelyTyped/repos","events_url":"https://api.github.com/users/DefinitelyTyped/events{/privacy}","received_events_url":"https://api.github.com/users/DefinitelyTyped/received_events","type":"Organization","site_admin":false},"repo":{"id":21018299,"name":"definition-tester","full_name":"DefinitelyTyped/definition-tester","owner":{"login":"DefinitelyTyped","id":3637556,"avatar_url":"https://avatars.githubusercontent.com/u/3637556?v=3","gravatar_id":"","url":"https://api.github.com/users/DefinitelyTyped","html_url":"https://github.com/DefinitelyTyped","followers_url":"https://api.github.com/users/DefinitelyTyped/followers","following_url":"https://api.github.com/users/DefinitelyTyped/following{/other_user}","gists_url":"https://api.github.com/users/DefinitelyTyped/gists{/gist_id}","starred_url":"https://api.github.com/users/DefinitelyTyped/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefinitelyTyped/subscriptions","organizations_url":"https://api.github.com/users/DefinitelyTyped/orgs","repos_url":"https://api.github.com/users/DefinitelyTyped/repos","events_url":"https://api.github.com/users/DefinitelyTyped/events{/privacy}","received_events_url":"https://api.github.com/users/DefinitelyTyped/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DefinitelyTyped/definition-tester","description":"DefinitelyTyped repository testing infrastructure","fork":false,"url":"https://api.github.com/repos/DefinitelyTyped/definition-tester","forks_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/forks","keys_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/teams","hooks_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/hooks","issue_events_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/issues/events{/number}","events_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/events","assignees_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/assignees{/user}","branches_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/branches{/branch}","tags_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/tags","blobs_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/git/refs{/sha}","trees_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/statuses/{sha}","languages_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/languages","stargazers_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/stargazers","contributors_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/contributors","subscribers_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/subscribers","subscription_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/subscription","commits_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/commits{/sha}","git_commits_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/git/commits{/sha}","comments_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/comments{/number}","issue_comment_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/issues/comments{/number}","contents_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/contents/{+path}","compare_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/merges","archive_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/downloads","issues_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/issues{/number}","pulls_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/pulls{/number}","milestones_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/milestones{/number}","notifications_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/labels{/name}","releases_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/releases{/id}","deployments_url":"https://api.github.com/repos/DefinitelyTyped/definition-tester/deployments","created_at":"2014-06-19T22:53:43Z","updated_at":"2016-01-28T16:40:19Z","pushed_at":"2016-03-21T13:35:42Z","git_url":"git://github.com/DefinitelyTyped/definition-tester.git","ssh_url":"git@github.com:DefinitelyTyped/definition-tester.git","clone_url":"https://github.com/DefinitelyTyped/definition-tester.git","svn_url":"https://github.com/DefinitelyTyped/definition-tester","homepage":null,"size":187,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":8,"forks":4,"open_issues":8,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DefinitelyTyped/definition-tester/pulls/18"},"html":{"href":"https://github.com/DefinitelyTyped/definition-tester/pull/18"},"issue":{"href":"https://api.github.com/repos/DefinitelyTyped/definition-tester/issues/18"},"comments":{"href":"https://api.github.com/repos/DefinitelyTyped/definition-tester/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/DefinitelyTyped/definition-tester/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/DefinitelyTyped/definition-tester/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DefinitelyTyped/definition-tester/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/DefinitelyTyped/definition-tester/statuses/670c819f9ec4b3adeeb9bf0ea644fbb684a21299"}}}}