{"action":"closed","number":26,"pull_request":{"url":"https://api.github.com/repos/psykzz/st3-gitblame/pulls/26","id":187676187,"html_url":"https://github.com/psykzz/st3-gitblame/pull/26","diff_url":"https://github.com/psykzz/st3-gitblame/pull/26.diff","patch_url":"https://github.com/psykzz/st3-gitblame/pull/26.patch","issue_url":"https://api.github.com/repos/psykzz/st3-gitblame/issues/26","number":26,"state":"closed","locked":false,"title":"BlameCommand: Notice when the file is unsaved:","user":{"login":"frou","id":172663,"avatar_url":"https://avatars2.githubusercontent.com/u/172663?v=4","gravatar_id":"","url":"https://api.github.com/users/frou","html_url":"https://github.com/frou","followers_url":"https://api.github.com/users/frou/followers","following_url":"https://api.github.com/users/frou/following{/other_user}","gists_url":"https://api.github.com/users/frou/gists{/gist_id}","starred_url":"https://api.github.com/users/frou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frou/subscriptions","organizations_url":"https://api.github.com/users/frou/orgs","repos_url":"https://api.github.com/users/frou/repos","events_url":"https://api.github.com/users/frou/events{/privacy}","received_events_url":"https://api.github.com/users/frou/received_events","type":"User","site_admin":false},"body":"Querying blame information for a file with unsaved modifications shouldn't be allowed. This is because the line-number of the text caret in the in-memory representation of the file has a high chance of referring to an unrelated line in the on-disk representation of the file. Since `git blame` operates solely with on-disk representation, bogus information could be shown in the phantom because of this discrepancy.\r\n\r\nBlameShowAllCommand already protects against this.","created_at":"2018-05-13T15:35:57Z","updated_at":"2018-05-13T20:38:35Z","closed_at":"2018-05-13T20:38:35Z","merged_at":"2018-05-13T20:38:35Z","merge_commit_sha":"074d66e00d5c8031c84905e039747ab3f9f3beea","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/psykzz/st3-gitblame/pulls/26/commits","review_comments_url":"https://api.github.com/repos/psykzz/st3-gitblame/pulls/26/comments","review_comment_url":"https://api.github.com/repos/psykzz/st3-gitblame/pulls/comments{/number}","comments_url":"https://api.github.com/repos/psykzz/st3-gitblame/issues/26/comments","statuses_url":"https://api.github.com/repos/psykzz/st3-gitblame/statuses/e29c8ec1c6923bf275fd46ba3f3cf9ff7e28e220","head":{"label":"frou:unsaved-warning","ref":"unsaved-warning","sha":"e29c8ec1c6923bf275fd46ba3f3cf9ff7e28e220","user":{"login":"frou","id":172663,"avatar_url":"https://avatars2.githubusercontent.com/u/172663?v=4","gravatar_id":"","url":"https://api.github.com/users/frou","html_url":"https://github.com/frou","followers_url":"https://api.github.com/users/frou/followers","following_url":"https://api.github.com/users/frou/following{/other_user}","gists_url":"https://api.github.com/users/frou/gists{/gist_id}","starred_url":"https://api.github.com/users/frou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frou/subscriptions","organizations_url":"https://api.github.com/users/frou/orgs","repos_url":"https://api.github.com/users/frou/repos","events_url":"https://api.github.com/users/frou/events{/privacy}","received_events_url":"https://api.github.com/users/frou/received_events","type":"User","site_admin":false},"repo":{"id":95966117,"name":"st3-gitblame","full_name":"frou/st3-gitblame","owner":{"login":"frou","id":172663,"avatar_url":"https://avatars2.githubusercontent.com/u/172663?v=4","gravatar_id":"","url":"https://api.github.com/users/frou","html_url":"https://github.com/frou","followers_url":"https://api.github.com/users/frou/followers","following_url":"https://api.github.com/users/frou/following{/other_user}","gists_url":"https://api.github.com/users/frou/gists{/gist_id}","starred_url":"https://api.github.com/users/frou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frou/subscriptions","organizations_url":"https://api.github.com/users/frou/orgs","repos_url":"https://api.github.com/users/frou/repos","events_url":"https://api.github.com/users/frou/events{/privacy}","received_events_url":"https://api.github.com/users/frou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/frou/st3-gitblame","description":"Sublime text 3 - Git blame the line","fork":true,"url":"https://api.github.com/repos/frou/st3-gitblame","forks_url":"https://api.github.com/repos/frou/st3-gitblame/forks","keys_url":"https://api.github.com/repos/frou/st3-gitblame/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frou/st3-gitblame/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frou/st3-gitblame/teams","hooks_url":"https://api.github.com/repos/frou/st3-gitblame/hooks","issue_events_url":"https://api.github.com/repos/frou/st3-gitblame/issues/events{/number}","events_url":"https://api.github.com/repos/frou/st3-gitblame/events","assignees_url":"https://api.github.com/repos/frou/st3-gitblame/assignees{/user}","branches_url":"https://api.github.com/repos/frou/st3-gitblame/branches{/branch}","tags_url":"https://api.github.com/repos/frou/st3-gitblame/tags","blobs_url":"https://api.github.com/repos/frou/st3-gitblame/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frou/st3-gitblame/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frou/st3-gitblame/git/refs{/sha}","trees_url":"https://api.github.com/repos/frou/st3-gitblame/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frou/st3-gitblame/statuses/{sha}","languages_url":"https://api.github.com/repos/frou/st3-gitblame/languages","stargazers_url":"https://api.github.com/repos/frou/st3-gitblame/stargazers","contributors_url":"https://api.github.com/repos/frou/st3-gitblame/contributors","subscribers_url":"https://api.github.com/repos/frou/st3-gitblame/subscribers","subscription_url":"https://api.github.com/repos/frou/st3-gitblame/subscription","commits_url":"https://api.github.com/repos/frou/st3-gitblame/commits{/sha}","git_commits_url":"https://api.github.com/repos/frou/st3-gitblame/git/commits{/sha}","comments_url":"https://api.github.com/repos/frou/st3-gitblame/comments{/number}","issue_comment_url":"https://api.github.com/repos/frou/st3-gitblame/issues/comments{/number}","contents_url":"https://api.github.com/repos/frou/st3-gitblame/contents/{+path}","compare_url":"https://api.github.com/repos/frou/st3-gitblame/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frou/st3-gitblame/merges","archive_url":"https://api.github.com/repos/frou/st3-gitblame/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frou/st3-gitblame/downloads","issues_url":"https://api.github.com/repos/frou/st3-gitblame/issues{/number}","pulls_url":"https://api.github.com/repos/frou/st3-gitblame/pulls{/number}","milestones_url":"https://api.github.com/repos/frou/st3-gitblame/milestones{/number}","notifications_url":"https://api.github.com/repos/frou/st3-gitblame/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frou/st3-gitblame/labels{/name}","releases_url":"https://api.github.com/repos/frou/st3-gitblame/releases{/id}","deployments_url":"https://api.github.com/repos/frou/st3-gitblame/deployments","created_at":"2017-07-01T13:35:05Z","updated_at":"2018-04-04T08:07:26Z","pushed_at":"2018-05-13T15:34:12Z","git_url":"git://github.com/frou/st3-gitblame.git","ssh_url":"git@github.com:frou/st3-gitblame.git","clone_url":"https://github.com/frou/st3-gitblame.git","svn_url":"https://github.com/frou/st3-gitblame","homepage":"https://packagecontrol.io/packages/Git%20blame","size":37,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"psykzz:master","ref":"master","sha":"a61e3e482de9fb6696ca72b0844c468f4d5d7bf8","user":{"login":"psykzz","id":1134201,"avatar_url":"https://avatars3.githubusercontent.com/u/1134201?v=4","gravatar_id":"","url":"https://api.github.com/users/psykzz","html_url":"https://github.com/psykzz","followers_url":"https://api.github.com/users/psykzz/followers","following_url":"https://api.github.com/users/psykzz/following{/other_user}","gists_url":"https://api.github.com/users/psykzz/gists{/gist_id}","starred_url":"https://api.github.com/users/psykzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psykzz/subscriptions","organizations_url":"https://api.github.com/users/psykzz/orgs","repos_url":"https://api.github.com/users/psykzz/repos","events_url":"https://api.github.com/users/psykzz/events{/privacy}","received_events_url":"https://api.github.com/users/psykzz/received_events","type":"User","site_admin":false},"repo":{"id":76074427,"name":"st3-gitblame","full_name":"psykzz/st3-gitblame","owner":{"login":"psykzz","id":1134201,"avatar_url":"https://avatars3.githubusercontent.com/u/1134201?v=4","gravatar_id":"","url":"https://api.github.com/users/psykzz","html_url":"https://github.com/psykzz","followers_url":"https://api.github.com/users/psykzz/followers","following_url":"https://api.github.com/users/psykzz/following{/other_user}","gists_url":"https://api.github.com/users/psykzz/gists{/gist_id}","starred_url":"https://api.github.com/users/psykzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psykzz/subscriptions","organizations_url":"https://api.github.com/users/psykzz/orgs","repos_url":"https://api.github.com/users/psykzz/repos","events_url":"https://api.github.com/users/psykzz/events{/privacy}","received_events_url":"https://api.github.com/users/psykzz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/psykzz/st3-gitblame","description":"Sublime text 3 - Git blame the line","fork":false,"url":"https://api.github.com/repos/psykzz/st3-gitblame","forks_url":"https://api.github.com/repos/psykzz/st3-gitblame/forks","keys_url":"https://api.github.com/repos/psykzz/st3-gitblame/keys{/key_id}","collaborators_url":"https://api.github.com/repos/psykzz/st3-gitblame/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/psykzz/st3-gitblame/teams","hooks_url":"https://api.github.com/repos/psykzz/st3-gitblame/hooks","issue_events_url":"https://api.github.com/repos/psykzz/st3-gitblame/issues/events{/number}","events_url":"https://api.github.com/repos/psykzz/st3-gitblame/events","assignees_url":"https://api.github.com/repos/psykzz/st3-gitblame/assignees{/user}","branches_url":"https://api.github.com/repos/psykzz/st3-gitblame/branches{/branch}","tags_url":"https://api.github.com/repos/psykzz/st3-gitblame/tags","blobs_url":"https://api.github.com/repos/psykzz/st3-gitblame/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/psykzz/st3-gitblame/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/psykzz/st3-gitblame/git/refs{/sha}","trees_url":"https://api.github.com/repos/psykzz/st3-gitblame/git/trees{/sha}","statuses_url":"https://api.github.com/repos/psykzz/st3-gitblame/statuses/{sha}","languages_url":"https://api.github.com/repos/psykzz/st3-gitblame/languages","stargazers_url":"https://api.github.com/repos/psykzz/st3-gitblame/stargazers","contributors_url":"https://api.github.com/repos/psykzz/st3-gitblame/contributors","subscribers_url":"https://api.github.com/repos/psykzz/st3-gitblame/subscribers","subscription_url":"https://api.github.com/repos/psykzz/st3-gitblame/subscription","commits_url":"https://api.github.com/repos/psykzz/st3-gitblame/commits{/sha}","git_commits_url":"https://api.github.com/repos/psykzz/st3-gitblame/git/commits{/sha}","comments_url":"https://api.github.com/repos/psykzz/st3-gitblame/comments{/number}","issue_comment_url":"https://api.github.com/repos/psykzz/st3-gitblame/issues/comments{/number}","contents_url":"https://api.github.com/repos/psykzz/st3-gitblame/contents/{+path}","compare_url":"https://api.github.com/repos/psykzz/st3-gitblame/compare/{base}...{head}","merges_url":"https://api.github.com/repos/psykzz/st3-gitblame/merges","archive_url":"https://api.github.com/repos/psykzz/st3-gitblame/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/psykzz/st3-gitblame/downloads","issues_url":"https://api.github.com/repos/psykzz/st3-gitblame/issues{/number}","pulls_url":"https://api.github.com/repos/psykzz/st3-gitblame/pulls{/number}","milestones_url":"https://api.github.com/repos/psykzz/st3-gitblame/milestones{/number}","notifications_url":"https://api.github.com/repos/psykzz/st3-gitblame/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/psykzz/st3-gitblame/labels{/name}","releases_url":"https://api.github.com/repos/psykzz/st3-gitblame/releases{/id}","deployments_url":"https://api.github.com/repos/psykzz/st3-gitblame/deployments","created_at":"2016-12-09T22:16:12Z","updated_at":"2018-05-07T20:13:25Z","pushed_at":"2018-05-13T20:38:35Z","git_url":"git://github.com/psykzz/st3-gitblame.git","ssh_url":"git@github.com:psykzz/st3-gitblame.git","clone_url":"https://github.com/psykzz/st3-gitblame.git","svn_url":"https://github.com/psykzz/st3-gitblame","homepage":"https://packagecontrol.io/packages/Git%20blame","size":36,"stargazers_count":17,"watchers_count":17,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":7,"open_issues":3,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/psykzz/st3-gitblame/pulls/26"},"html":{"href":"https://github.com/psykzz/st3-gitblame/pull/26"},"issue":{"href":"https://api.github.com/repos/psykzz/st3-gitblame/issues/26"},"comments":{"href":"https://api.github.com/repos/psykzz/st3-gitblame/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/psykzz/st3-gitblame/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/psykzz/st3-gitblame/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/psykzz/st3-gitblame/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/psykzz/st3-gitblame/statuses/e29c8ec1c6923bf275fd46ba3f3cf9ff7e28e220"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"psykzz","id":1134201,"avatar_url":"https://avatars3.githubusercontent.com/u/1134201?v=4","gravatar_id":"","url":"https://api.github.com/users/psykzz","html_url":"https://github.com/psykzz","followers_url":"https://api.github.com/users/psykzz/followers","following_url":"https://api.github.com/users/psykzz/following{/other_user}","gists_url":"https://api.github.com/users/psykzz/gists{/gist_id}","starred_url":"https://api.github.com/users/psykzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psykzz/subscriptions","organizations_url":"https://api.github.com/users/psykzz/orgs","repos_url":"https://api.github.com/users/psykzz/repos","events_url":"https://api.github.com/users/psykzz/events{/privacy}","received_events_url":"https://api.github.com/users/psykzz/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":4,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"psykzz"}}