{"action":"created","issue":{"url":"https://api.github.com/repos/libgit2/libgit2/issues/3143","labels_url":"https://api.github.com/repos/libgit2/libgit2/issues/3143/labels{/name}","comments_url":"https://api.github.com/repos/libgit2/libgit2/issues/3143/comments","events_url":"https://api.github.com/repos/libgit2/libgit2/issues/3143/events","html_url":"https://github.com/libgit2/libgit2/issues/3143","id":78594488,"number":3143,"title":"gitignore not respected in certain situations?","user":{"login":"joshaber","id":13760,"avatar_url":"https://avatars.githubusercontent.com/u/13760?v=3","gravatar_id":"","url":"https://api.github.com/users/joshaber","html_url":"https://github.com/joshaber","followers_url":"https://api.github.com/users/joshaber/followers","following_url":"https://api.github.com/users/joshaber/following{/other_user}","gists_url":"https://api.github.com/users/joshaber/gists{/gist_id}","starred_url":"https://api.github.com/users/joshaber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshaber/subscriptions","organizations_url":"https://api.github.com/users/joshaber/orgs","repos_url":"https://api.github.com/users/joshaber/repos","events_url":"https://api.github.com/users/joshaber/events{/privacy}","received_events_url":"https://api.github.com/users/joshaber/received_events","type":"User","site_admin":true},"labels":[{"url":"https://api.github.com/repos/libgit2/libgit2/labels/bug","name":"bug","color":"a84d4d"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-20T16:29:42Z","updated_at":"2015-05-21T04:33:36Z","closed_at":"2015-05-21T00:07:39Z","body":"1. `mkdir test; cd test; git init`\r\n2. Use this `.gitignore`:\r\n\r\n```\r\n*.com\r\n\r\ntags\r\n!tags/\r\n\r\n.buildpath\r\n```\r\n3. `touch .buildpath`\r\n4. `git status`. Note that `.buildpath` is properly ignored by git.git.\r\n5. Get status using libgit2. Note that `.buildpath` is not ignored."},"comment":{"url":"https://api.github.com/repos/libgit2/libgit2/issues/comments/104131820","html_url":"https://github.com/libgit2/libgit2/issues/3143#issuecomment-104131820","issue_url":"https://api.github.com/repos/libgit2/libgit2/issues/3143","id":104131820,"user":{"login":"Therzok","id":109974,"avatar_url":"https://avatars.githubusercontent.com/u/109974?v=3","gravatar_id":"","url":"https://api.github.com/users/Therzok","html_url":"https://github.com/Therzok","followers_url":"https://api.github.com/users/Therzok/followers","following_url":"https://api.github.com/users/Therzok/following{/other_user}","gists_url":"https://api.github.com/users/Therzok/gists{/gist_id}","starred_url":"https://api.github.com/users/Therzok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Therzok/subscriptions","organizations_url":"https://api.github.com/users/Therzok/orgs","repos_url":"https://api.github.com/users/Therzok/repos","events_url":"https://api.github.com/users/Therzok/events{/privacy}","received_events_url":"https://api.github.com/users/Therzok/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T04:33:36Z","updated_at":"2015-05-21T04:33:36Z","body":"![](http://media.giphy.com/media/OMKZfNdSPpXfa/giphy.gif)"}}