{"action":"closed","number":789,"pull_request":{"url":"https://api.github.com/repos/atom/github/pulls/789","id":120382680,"html_url":"https://github.com/atom/github/pull/789","diff_url":"https://github.com/atom/github/pull/789.diff","patch_url":"https://github.com/atom/github/pull/789.patch","issue_url":"https://api.github.com/repos/atom/github/issues/789","number":789,"state":"closed","locked":false,"title":"Don't update Push button to say Force Push when cmd/ctrl held","user":{"login":"BinaryMuse","id":189606,"avatar_url":"https://avatars3.githubusercontent.com/u/189606?v=3","gravatar_id":"","url":"https://api.github.com/users/BinaryMuse","html_url":"https://github.com/BinaryMuse","followers_url":"https://api.github.com/users/BinaryMuse/followers","following_url":"https://api.github.com/users/BinaryMuse/following{/other_user}","gists_url":"https://api.github.com/users/BinaryMuse/gists{/gist_id}","starred_url":"https://api.github.com/users/BinaryMuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BinaryMuse/subscriptions","organizations_url":"https://api.github.com/users/BinaryMuse/orgs","repos_url":"https://api.github.com/users/BinaryMuse/repos","events_url":"https://api.github.com/users/BinaryMuse/events{/privacy}","received_events_url":"https://api.github.com/users/BinaryMuse/received_events","type":"User","site_admin":true},"body":"It seems that, on certain systems, this doesn't work as expected. Sometimes it flashes very quickly between the two states, and using `ctrl` as a modifier for mouse clicks can also put it into a weird state. I've seen both of these states on my own computer, but have been unable to reproduce consistently.\r\n\r\nThe last thing we want to do is accidentally cause a user to force push. So, instead, we use the `metaKey` and `ctrlKey` properties of the click event to determine if we should force push. Since the feature is, unfortunately, less discoverable, I added a confirmation that makes sure the user meant to force push.\r\n\r\nFixes #766 ","created_at":"2017-05-12T18:43:18Z","updated_at":"2017-05-13T08:22:19Z","closed_at":"2017-05-13T08:22:19Z","merged_at":"2017-05-13T08:22:19Z","merge_commit_sha":"ca87e3799492db2d559407f911bc32b540497809","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/atom/github/pulls/789/commits","review_comments_url":"https://api.github.com/repos/atom/github/pulls/789/comments","review_comment_url":"https://api.github.com/repos/atom/github/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atom/github/issues/789/comments","statuses_url":"https://api.github.com/repos/atom/github/statuses/ea463e33439c08998c86542b6655cf5a361e8917","head":{"label":"atom:mkt-alter-force-pushing","ref":"mkt-alter-force-pushing","sha":"ea463e33439c08998c86542b6655cf5a361e8917","user":{"login":"atom","id":1089146,"avatar_url":"https://avatars1.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"repo":{"id":46155786,"name":"github","full_name":"atom/github","owner":{"login":"atom","id":1089146,"avatar_url":"https://avatars1.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atom/github","description":"Git and GitHub integration for Atom :atom: + :octocat: = :sparkling_heart:","fork":false,"url":"https://api.github.com/repos/atom/github","forks_url":"https://api.github.com/repos/atom/github/forks","keys_url":"https://api.github.com/repos/atom/github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atom/github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atom/github/teams","hooks_url":"https://api.github.com/repos/atom/github/hooks","issue_events_url":"https://api.github.com/repos/atom/github/issues/events{/number}","events_url":"https://api.github.com/repos/atom/github/events","assignees_url":"https://api.github.com/repos/atom/github/assignees{/user}","branches_url":"https://api.github.com/repos/atom/github/branches{/branch}","tags_url":"https://api.github.com/repos/atom/github/tags","blobs_url":"https://api.github.com/repos/atom/github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atom/github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atom/github/git/refs{/sha}","trees_url":"https://api.github.com/repos/atom/github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atom/github/statuses/{sha}","languages_url":"https://api.github.com/repos/atom/github/languages","stargazers_url":"https://api.github.com/repos/atom/github/stargazers","contributors_url":"https://api.github.com/repos/atom/github/contributors","subscribers_url":"https://api.github.com/repos/atom/github/subscribers","subscription_url":"https://api.github.com/repos/atom/github/subscription","commits_url":"https://api.github.com/repos/atom/github/commits{/sha}","git_commits_url":"https://api.github.com/repos/atom/github/git/commits{/sha}","comments_url":"https://api.github.com/repos/atom/github/comments{/number}","issue_comment_url":"https://api.github.com/repos/atom/github/issues/comments{/number}","contents_url":"https://api.github.com/repos/atom/github/contents/{+path}","compare_url":"https://api.github.com/repos/atom/github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atom/github/merges","archive_url":"https://api.github.com/repos/atom/github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atom/github/downloads","issues_url":"https://api.github.com/repos/atom/github/issues{/number}","pulls_url":"https://api.github.com/repos/atom/github/pulls{/number}","milestones_url":"https://api.github.com/repos/atom/github/milestones{/number}","notifications_url":"https://api.github.com/repos/atom/github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atom/github/labels{/name}","releases_url":"https://api.github.com/repos/atom/github/releases{/id}","deployments_url":"https://api.github.com/repos/atom/github/deployments","created_at":"2015-11-14T01:17:58Z","updated_at":"2017-05-13T07:59:30Z","pushed_at":"2017-05-13T08:22:19Z","git_url":"git://github.com/atom/github.git","ssh_url":"git@github.com:atom/github.git","clone_url":"https://github.com/atom/github.git","svn_url":"https://github.com/atom/github","homepage":"https://github.atom.io","size":5645,"stargazers_count":96,"watchers_count":96,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":113,"forks":2,"open_issues":113,"watchers":96,"default_branch":"master"}},"base":{"label":"atom:master","ref":"master","sha":"dd8bee16b4ff47bbfd664440b208a9209c304a2d","user":{"login":"atom","id":1089146,"avatar_url":"https://avatars1.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"repo":{"id":46155786,"name":"github","full_name":"atom/github","owner":{"login":"atom","id":1089146,"avatar_url":"https://avatars1.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atom/github","description":"Git and GitHub integration for Atom :atom: + :octocat: = :sparkling_heart:","fork":false,"url":"https://api.github.com/repos/atom/github","forks_url":"https://api.github.com/repos/atom/github/forks","keys_url":"https://api.github.com/repos/atom/github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atom/github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atom/github/teams","hooks_url":"https://api.github.com/repos/atom/github/hooks","issue_events_url":"https://api.github.com/repos/atom/github/issues/events{/number}","events_url":"https://api.github.com/repos/atom/github/events","assignees_url":"https://api.github.com/repos/atom/github/assignees{/user}","branches_url":"https://api.github.com/repos/atom/github/branches{/branch}","tags_url":"https://api.github.com/repos/atom/github/tags","blobs_url":"https://api.github.com/repos/atom/github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atom/github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atom/github/git/refs{/sha}","trees_url":"https://api.github.com/repos/atom/github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atom/github/statuses/{sha}","languages_url":"https://api.github.com/repos/atom/github/languages","stargazers_url":"https://api.github.com/repos/atom/github/stargazers","contributors_url":"https://api.github.com/repos/atom/github/contributors","subscribers_url":"https://api.github.com/repos/atom/github/subscribers","subscription_url":"https://api.github.com/repos/atom/github/subscription","commits_url":"https://api.github.com/repos/atom/github/commits{/sha}","git_commits_url":"https://api.github.com/repos/atom/github/git/commits{/sha}","comments_url":"https://api.github.com/repos/atom/github/comments{/number}","issue_comment_url":"https://api.github.com/repos/atom/github/issues/comments{/number}","contents_url":"https://api.github.com/repos/atom/github/contents/{+path}","compare_url":"https://api.github.com/repos/atom/github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atom/github/merges","archive_url":"https://api.github.com/repos/atom/github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atom/github/downloads","issues_url":"https://api.github.com/repos/atom/github/issues{/number}","pulls_url":"https://api.github.com/repos/atom/github/pulls{/number}","milestones_url":"https://api.github.com/repos/atom/github/milestones{/number}","notifications_url":"https://api.github.com/repos/atom/github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atom/github/labels{/name}","releases_url":"https://api.github.com/repos/atom/github/releases{/id}","deployments_url":"https://api.github.com/repos/atom/github/deployments","created_at":"2015-11-14T01:17:58Z","updated_at":"2017-05-13T07:59:30Z","pushed_at":"2017-05-13T08:22:19Z","git_url":"git://github.com/atom/github.git","ssh_url":"git@github.com:atom/github.git","clone_url":"https://github.com/atom/github.git","svn_url":"https://github.com/atom/github","homepage":"https://github.atom.io","size":5645,"stargazers_count":96,"watchers_count":96,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":113,"forks":2,"open_issues":113,"watchers":96,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atom/github/pulls/789"},"html":{"href":"https://github.com/atom/github/pull/789"},"issue":{"href":"https://api.github.com/repos/atom/github/issues/789"},"comments":{"href":"https://api.github.com/repos/atom/github/issues/789/comments"},"review_comments":{"href":"https://api.github.com/repos/atom/github/pulls/789/comments"},"review_comment":{"href":"https://api.github.com/repos/atom/github/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atom/github/pulls/789/commits"},"statuses":{"href":"https://api.github.com/repos/atom/github/statuses/ea463e33439c08998c86542b6655cf5a361e8917"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"BinaryMuse","id":189606,"avatar_url":"https://avatars3.githubusercontent.com/u/189606?v=3","gravatar_id":"","url":"https://api.github.com/users/BinaryMuse","html_url":"https://github.com/BinaryMuse","followers_url":"https://api.github.com/users/BinaryMuse/followers","following_url":"https://api.github.com/users/BinaryMuse/following{/other_user}","gists_url":"https://api.github.com/users/BinaryMuse/gists{/gist_id}","starred_url":"https://api.github.com/users/BinaryMuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BinaryMuse/subscriptions","organizations_url":"https://api.github.com/users/BinaryMuse/orgs","repos_url":"https://api.github.com/users/BinaryMuse/repos","events_url":"https://api.github.com/users/BinaryMuse/events{/privacy}","received_events_url":"https://api.github.com/users/BinaryMuse/received_events","type":"User","site_admin":true},"comments":0,"review_comments":1,"maintainer_can_modify":false,"commits":4,"additions":23,"deletions":40,"changed_files":4}}
{"actor":{"display_login":"BinaryMuse"}}