{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/8598","repository_url":"https://api.github.com/repos/atom/atom","labels_url":"https://api.github.com/repos/atom/atom/issues/8598/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/8598/comments","events_url":"https://api.github.com/repos/atom/atom/issues/8598/events","html_url":"https://github.com/atom/atom/issues/8598","id":104082152,"number":8598,"title":"Does not properly detect file deletions when switching branches","user":{"login":"danShumway","id":3317194,"avatar_url":"https://avatars3.githubusercontent.com/u/3317194?v=4","gravatar_id":"","url":"https://api.github.com/users/danShumway","html_url":"https://github.com/danShumway","followers_url":"https://api.github.com/users/danShumway/followers","following_url":"https://api.github.com/users/danShumway/following{/other_user}","gists_url":"https://api.github.com/users/danShumway/gists{/gist_id}","starred_url":"https://api.github.com/users/danShumway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danShumway/subscriptions","organizations_url":"https://api.github.com/users/danShumway/orgs","repos_url":"https://api.github.com/users/danShumway/repos","events_url":"https://api.github.com/users/danShumway/events{/privacy}","received_events_url":"https://api.github.com/users/danShumway/received_events","type":"User","site_admin":false},"labels":[{"id":247105569,"url":"https://api.github.com/repos/atom/atom/labels/git","name":"git","color":"fef2c0","default":false},{"id":601496052,"url":"https://api.github.com/repos/atom/atom/labels/stale","name":"stale","color":"e6e6e6","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-08-31T16:05:41Z","updated_at":"2018-03-30T18:37:12Z","closed_at":"2017-09-12T19:08:13Z","author_association":"NONE","body":"When switching Git branches in Windows, if:\n- a file is present in the original branch, but not in the branch I am switching to\n- that file is open in the text editor\n\nAtom will throw a warning that it can no longer read the file (since it no longer exists), as opposed to either closing the file or just marking it as unsaved.  Is there any way that atom could detect that this change was caused by Git and handle it more gracefully?\n\nWarning text: \"Unable to read file after file change event.\nMake sure you have permission to access\n[file].\"\nPlatform: Windows 7\nAtom Version: 1.0.8\n"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/377592377","html_url":"https://github.com/atom/atom/issues/8598#issuecomment-377592377","issue_url":"https://api.github.com/repos/atom/atom/issues/8598","id":377592377,"user":{"login":"lock[bot]","id":33595554,"avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-03-30T18:37:12Z","updated_at":"2018-03-30T18:37:12Z","author_association":"NONE","body":"This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in [Safe Mode](https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode) then please open a new issue and fill out [the entire issue template](https://github.com/atom/atom/blob/master/ISSUE_TEMPLATE.md) to ensure that we have enough information to address your issue. Thanks!\n"}}
{"actor":{"display_login":"lock"}}