{"action":"created","issue":{"url":"https://api.github.com/repos/adobe/brackets/issues/10304","labels_url":"https://api.github.com/repos/adobe/brackets/issues/10304/labels{/name}","comments_url":"https://api.github.com/repos/adobe/brackets/issues/10304/comments","events_url":"https://api.github.com/repos/adobe/brackets/issues/10304/events","html_url":"https://github.com/adobe/brackets/pull/10304","id":53319260,"number":10304,"title":"Apply exclude filter when handling fs events.","user":{"login":"busykai","id":3368515,"avatar_url":"https://avatars.githubusercontent.com/u/3368515?v=3","gravatar_id":"","url":"https://api.github.com/users/busykai","html_url":"https://github.com/busykai","followers_url":"https://api.github.com/users/busykai/followers","following_url":"https://api.github.com/users/busykai/following{/other_user}","gists_url":"https://api.github.com/users/busykai/gists{/gist_id}","starred_url":"https://api.github.com/users/busykai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/busykai/subscriptions","organizations_url":"https://api.github.com/users/busykai/orgs","repos_url":"https://api.github.com/users/busykai/repos","events_url":"https://api.github.com/users/busykai/events{/privacy}","received_events_url":"https://api.github.com/users/busykai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"prksingh","id":1701706,"avatar_url":"https://avatars.githubusercontent.com/u/1701706?v=3","gravatar_id":"","url":"https://api.github.com/users/prksingh","html_url":"https://github.com/prksingh","followers_url":"https://api.github.com/users/prksingh/followers","following_url":"https://api.github.com/users/prksingh/following{/other_user}","gists_url":"https://api.github.com/users/prksingh/gists{/gist_id}","starred_url":"https://api.github.com/users/prksingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prksingh/subscriptions","organizations_url":"https://api.github.com/users/prksingh/orgs","repos_url":"https://api.github.com/users/prksingh/repos","events_url":"https://api.github.com/users/prksingh/events{/privacy}","received_events_url":"https://api.github.com/users/prksingh/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/adobe/brackets/milestones/36","html_url":"https://github.com/adobe/brackets/milestones/Release%201.4","labels_url":"https://api.github.com/repos/adobe/brackets/milestones/36/labels","id":1048084,"number":36,"title":"Release 1.4","description":"","creator":{"login":"ryanstewart","id":45450,"avatar_url":"https://avatars.githubusercontent.com/u/45450?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanstewart","html_url":"https://github.com/ryanstewart","followers_url":"https://api.github.com/users/ryanstewart/followers","following_url":"https://api.github.com/users/ryanstewart/following{/other_user}","gists_url":"https://api.github.com/users/ryanstewart/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanstewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanstewart/subscriptions","organizations_url":"https://api.github.com/users/ryanstewart/orgs","repos_url":"https://api.github.com/users/ryanstewart/repos","events_url":"https://api.github.com/users/ryanstewart/events{/privacy}","received_events_url":"https://api.github.com/users/ryanstewart/received_events","type":"User","site_admin":false},"open_issues":34,"closed_issues":31,"state":"open","created_at":"2015-04-01T04:03:49Z","updated_at":"2015-07-12T16:36:29Z","due_on":"2015-07-07T18:30:00Z","closed_at":null},"comments":19,"created_at":"2015-01-03T23:48:09Z","updated_at":"2015-07-12T21:27:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/adobe/brackets/pulls/10304","html_url":"https://github.com/adobe/brackets/pull/10304","diff_url":"https://github.com/adobe/brackets/pull/10304.diff","patch_url":"https://github.com/adobe/brackets/pull/10304.patch"},"body":"This resolves the issue with `ProjectModel` not applying exclude list when handling `FileSystem` change.\r\n\r\n~~This PR fixes [part 2](https://github.com/adobe/brackets/issues/10183#issuecomment-67237422) of the issues described in #10183.~~\r\n\r\nEDIT:\r\n\r\nThis PR fixes #10183, see [this comment](https://github.com/adobe/brackets/issues/10183#issuecomment-67237422) for the issue definition:\r\n- 5d181f5 fixes the part 2 -- do not allow the fs events to change the project model, apply filtering\r\n- 6514f20 fixes the part 1 -- do not change `FileSystem._index` when the requested entry is filtered.\r\n\r\nIt might be so that 6514f20 actually draws 5d181f5 useless since no more events will be generated and the filtering will be done at `FileSystem` level, but there's no penalty on having 5d181f5 in place as well."},"comment":{"url":"https://api.github.com/repos/adobe/brackets/issues/comments/120763200","html_url":"https://github.com/adobe/brackets/pull/10304#issuecomment-120763200","issue_url":"https://api.github.com/repos/adobe/brackets/issues/10304","id":120763200,"user":{"login":"zaggino","id":1067319,"avatar_url":"https://avatars.githubusercontent.com/u/1067319?v=3","gravatar_id":"","url":"https://api.github.com/users/zaggino","html_url":"https://github.com/zaggino","followers_url":"https://api.github.com/users/zaggino/followers","following_url":"https://api.github.com/users/zaggino/following{/other_user}","gists_url":"https://api.github.com/users/zaggino/gists{/gist_id}","starred_url":"https://api.github.com/users/zaggino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaggino/subscriptions","organizations_url":"https://api.github.com/users/zaggino/orgs","repos_url":"https://api.github.com/users/zaggino/repos","events_url":"https://api.github.com/users/zaggino/events{/privacy}","received_events_url":"https://api.github.com/users/zaggino/received_events","type":"User","site_admin":false},"created_at":"2015-07-12T21:27:43Z","updated_at":"2015-07-12T21:27:43Z","body":"@abose yes, try removing this code from your git extension: https://github.com/zaggino/brackets-git/blob/master/src/git/GitCli.js#L961-L978"}}