{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/346","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/346/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/346/events","html_url":"https://github.com/Microsoft/vscode/issues/346","id":118034976,"number":346,"title":"Visual Studio Code deleting content of git submodules inside a git project","user":{"login":"jpierru","id":5281968,"avatar_url":"https://avatars.githubusercontent.com/u/5281968?v=3","gravatar_id":"","url":"https://api.github.com/users/jpierru","html_url":"https://github.com/jpierru","followers_url":"https://api.github.com/users/jpierru/followers","following_url":"https://api.github.com/users/jpierru/following{/other_user}","gists_url":"https://api.github.com/users/jpierru/gists{/gist_id}","starred_url":"https://api.github.com/users/jpierru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpierru/subscriptions","organizations_url":"https://api.github.com/users/jpierru/orgs","repos_url":"https://api.github.com/users/jpierru/repos","events_url":"https://api.github.com/users/jpierru/events{/privacy}","received_events_url":"https://api.github.com/users/jpierru/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode/labels/bug","name":"bug","color":"e11d21"}],"state":"open","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},"milestone":null,"comments":9,"created_at":"2015-11-20T12:48:19Z","updated_at":"2015-12-03T15:47:43Z","closed_at":null,"body":"I have a git project that contains several git submodules of other projects and I have seen that the Git integration in Visual Studio Code takes a lot of times to \"scan\" my git project to in the end delete the content of my submodules leaving my git checkout corrupted."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/161682939","html_url":"https://github.com/Microsoft/vscode/issues/346#issuecomment-161682939","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/346","id":161682939,"user":{"login":"jpierru","id":5281968,"avatar_url":"https://avatars.githubusercontent.com/u/5281968?v=3","gravatar_id":"","url":"https://api.github.com/users/jpierru","html_url":"https://github.com/jpierru","followers_url":"https://api.github.com/users/jpierru/followers","following_url":"https://api.github.com/users/jpierru/following{/other_user}","gists_url":"https://api.github.com/users/jpierru/gists{/gist_id}","starred_url":"https://api.github.com/users/jpierru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpierru/subscriptions","organizations_url":"https://api.github.com/users/jpierru/orgs","repos_url":"https://api.github.com/users/jpierru/repos","events_url":"https://api.github.com/users/jpierru/events{/privacy}","received_events_url":"https://api.github.com/users/jpierru/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T15:47:43Z","updated_at":"2015-12-03T15:47:43Z","body":"The submodules still show as modified, the reason is that their contents are still staged for deletion. If i unstage the changes in each of the submodules the git status is then finally clean."}}