{"action":"created","issue":{"url":"https://api.github.com/repos/zaggino/brackets-git/issues/687","labels_url":"https://api.github.com/repos/zaggino/brackets-git/issues/687/labels{/name}","comments_url":"https://api.github.com/repos/zaggino/brackets-git/issues/687/comments","events_url":"https://api.github.com/repos/zaggino/brackets-git/issues/687/events","html_url":"https://github.com/zaggino/brackets-git/issues/687","id":40313409,"number":687,"title":".gitignore \"negative\" logic confuses brackets-git","user":{"login":"xmnboy","id":1023095,"avatar_url":"https://avatars.githubusercontent.com/u/1023095?v=3","gravatar_id":"","url":"https://api.github.com/users/xmnboy","html_url":"https://github.com/xmnboy","followers_url":"https://api.github.com/users/xmnboy/followers","following_url":"https://api.github.com/users/xmnboy/following{/other_user}","gists_url":"https://api.github.com/users/xmnboy/gists{/gist_id}","starred_url":"https://api.github.com/users/xmnboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xmnboy/subscriptions","organizations_url":"https://api.github.com/users/xmnboy/orgs","repos_url":"https://api.github.com/users/xmnboy/repos","events_url":"https://api.github.com/users/xmnboy/events{/privacy}","received_events_url":"https://api.github.com/users/xmnboy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zaggino/brackets-git/labels/fixed%20/%20awaiting%20feedback","name":"fixed / awaiting feedback","color":"00CC00"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-08-15T00:26:00Z","updated_at":"2015-02-25T01:31:06Z","closed_at":"2014-10-14T09:30:17Z","body":"See this `.gitignore` file for reference:\r\n\r\n    # ignore Cordova/PhoneGap CLI directories \r\n    # in essence, everything but .xdk file and www directory \r\n    # modified to work with XDK release 1199, needs additions file \r\n    /* \r\n    !/www \r\n    !/config.xml \r\n    !/README.md \r\n    !/LICENSE.md \r\n    !/intelxdk.config.additions.xml \r\n    !/*.xdk \r\n    !/*.xdke\r\n\r\n* The `/*` line causes *all* files and directories to be ignored.\r\n* The `!/www` line causes the `www` directory to then be *un-ignored* (to be included back after being ignored by the `/*` directive).\r\n* The various files that are listed as *un-ignored* in this `.gitignore` show up correctly in the Brackets folder tree.\r\n* But `brackets-git` is confused and displays the `www` directory in that weird shadow italic font that is very hard to read; indicating that this directory, and its contents, are not being tracked.\r\n* `git` does all the right things, so the `.gitignore` file is working.\r\n\r\nIn essence, in this example `brackets-git` is doing the right thing for *un-ignored* files but not for directories that are *un-ignored*, and any folders and files contained within those *un-ignored* directories."},"comment":{"url":"https://api.github.com/repos/zaggino/brackets-git/issues/comments/75888430","html_url":"https://github.com/zaggino/brackets-git/issues/687#issuecomment-75888430","issue_url":"https://api.github.com/repos/zaggino/brackets-git/issues/687","id":75888430,"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-02-25T01:31:06Z","updated_at":"2015-02-25T01:31:06Z","body":"Well, that took a while but I'm glad it all works for you ;-)"}}