{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/11149","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/11149/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/11149/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/11149/events","html_url":"https://github.com/Microsoft/vscode/issues/11149","id":173908367,"number":11149,"title":".gitignored files removed by \"Clean All\" action","user":{"login":"xirzec","id":639216,"avatar_url":"https://avatars.githubusercontent.com/u/639216?v=3","gravatar_id":"","url":"https://api.github.com/users/xirzec","html_url":"https://github.com/xirzec","followers_url":"https://api.github.com/users/xirzec/followers","following_url":"https://api.github.com/users/xirzec/following{/other_user}","gists_url":"https://api.github.com/users/xirzec/gists{/gist_id}","starred_url":"https://api.github.com/users/xirzec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xirzec/subscriptions","organizations_url":"https://api.github.com/users/xirzec/orgs","repos_url":"https://api.github.com/users/xirzec/repos","events_url":"https://api.github.com/users/xirzec/events{/privacy}","received_events_url":"https://api.github.com/users/xirzec/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode/labels/git","name":"git","color":"1d76db"}],"state":"closed","locked":false,"assignee":{"login":"joaomoreno","id":22350,"avatar_url":"https://avatars.githubusercontent.com/u/22350?v=3","gravatar_id":"","url":"https://api.github.com/users/joaomoreno","html_url":"https://github.com/joaomoreno","followers_url":"https://api.github.com/users/joaomoreno/followers","following_url":"https://api.github.com/users/joaomoreno/following{/other_user}","gists_url":"https://api.github.com/users/joaomoreno/gists{/gist_id}","starred_url":"https://api.github.com/users/joaomoreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaomoreno/subscriptions","organizations_url":"https://api.github.com/users/joaomoreno/orgs","repos_url":"https://api.github.com/users/joaomoreno/repos","events_url":"https://api.github.com/users/joaomoreno/events{/privacy}","received_events_url":"https://api.github.com/users/joaomoreno/received_events","type":"User","site_admin":false},"assignees":[{"login":"joaomoreno","id":22350,"avatar_url":"https://avatars.githubusercontent.com/u/22350?v=3","gravatar_id":"","url":"https://api.github.com/users/joaomoreno","html_url":"https://github.com/joaomoreno","followers_url":"https://api.github.com/users/joaomoreno/followers","following_url":"https://api.github.com/users/joaomoreno/following{/other_user}","gists_url":"https://api.github.com/users/joaomoreno/gists{/gist_id}","starred_url":"https://api.github.com/users/joaomoreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaomoreno/subscriptions","organizations_url":"https://api.github.com/users/joaomoreno/orgs","repos_url":"https://api.github.com/users/joaomoreno/repos","events_url":"https://api.github.com/users/joaomoreno/events{/privacy}","received_events_url":"https://api.github.com/users/joaomoreno/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-08-30T01:14:36Z","updated_at":"2016-08-30T09:19:16Z","closed_at":"2016-08-30T09:19:16Z","body":"- VSCode Version: 1.4.0\r\n- OS Version: Windows 10 (1607 / build 14393.82)\r\n\r\nIf you select \"Clean All\" while you have changes staged, then a .gitignored `.vscode/launch.json` file will be unexpectedly removed. \r\n\r\nSteps to Reproduce:\r\n\r\n1. Create an empty folder\r\n2. Open the folder in VS Code\r\n3. Switch to the git tab\r\n4. Initialize the git repository\r\n5. Hit F5\r\n6. Select \"Node.js\" to create a launch.json\r\n7. Create a .gitignore file with the contents `.vscode/launch.json`\r\n8. Stage the .gitignore file\r\n9. Create a new file `foo.js`\r\n10. Select \"clean all\" from the Changes section of the Git tab\r\n11. Confirm the dialog\r\n\r\nExpected:\r\n- `foo.js` is removed\r\n- `.vscode/launch.json` still exists\r\n\r\nActual:\r\n- `foo.js` is removed\r\n- `.vscode/launch.json` is removed\r\n\r\nThis is super annoying, because my launch.json contains secret values in the environment settings, so I can't check it in. "}}
{"actor":{"display_login":"joaomoreno"}}