{"action":"created","issue":{"url":"https://api.github.com/repos/libgit2/libgit2/issues/3016","labels_url":"https://api.github.com/repos/libgit2/libgit2/issues/3016/labels{/name}","comments_url":"https://api.github.com/repos/libgit2/libgit2/issues/3016/comments","events_url":"https://api.github.com/repos/libgit2/libgit2/issues/3016/events","html_url":"https://github.com/libgit2/libgit2/pull/3016","id":64031006,"number":3016,"title":"ignore: fix negative ignores without wildcards.","user":{"login":"pks-t","id":4056630,"avatar_url":"https://avatars.githubusercontent.com/u/4056630?v=3","gravatar_id":"","url":"https://api.github.com/users/pks-t","html_url":"https://github.com/pks-t","followers_url":"https://api.github.com/users/pks-t/followers","following_url":"https://api.github.com/users/pks-t/following{/other_user}","gists_url":"https://api.github.com/users/pks-t/gists{/gist_id}","starred_url":"https://api.github.com/users/pks-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pks-t/subscriptions","organizations_url":"https://api.github.com/users/pks-t/orgs","repos_url":"https://api.github.com/users/pks-t/repos","events_url":"https://api.github.com/users/pks-t/events{/privacy}","received_events_url":"https://api.github.com/users/pks-t/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-24T15:48:18Z","updated_at":"2015-03-24T21:15:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/libgit2/libgit2/pulls/3016","html_url":"https://github.com/libgit2/libgit2/pull/3016","diff_url":"https://github.com/libgit2/libgit2/pull/3016.diff","patch_url":"https://github.com/libgit2/libgit2/pull/3016.patch"},"body":"Currently we are not able to correctly handle negative ignore patterns when they do not contain wildcards. This PR fixes the issue and adds a test that checks for a few different cases that have been checked to match the behavior of git.git.\r\n\r\nI'm not really comfortable with the function name \"does_negate_pattern\" - if there are any ideas I'd be glad to change its name."},"comment":{"url":"https://api.github.com/repos/libgit2/libgit2/issues/comments/85693742","html_url":"https://github.com/libgit2/libgit2/pull/3016#issuecomment-85693742","issue_url":"https://api.github.com/repos/libgit2/libgit2/issues/3016","id":85693742,"user":{"login":"ethomson","id":1130014,"avatar_url":"https://avatars.githubusercontent.com/u/1130014?v=3","gravatar_id":"","url":"https://api.github.com/users/ethomson","html_url":"https://github.com/ethomson","followers_url":"https://api.github.com/users/ethomson/followers","following_url":"https://api.github.com/users/ethomson/following{/other_user}","gists_url":"https://api.github.com/users/ethomson/gists{/gist_id}","starred_url":"https://api.github.com/users/ethomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethomson/subscriptions","organizations_url":"https://api.github.com/users/ethomson/orgs","repos_url":"https://api.github.com/users/ethomson/repos","events_url":"https://api.github.com/users/ethomson/events{/privacy}","received_events_url":"https://api.github.com/users/ethomson/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T21:15:11Z","updated_at":"2015-03-24T21:15:11Z","body":"Travis has been pretty disappointing on the Mac build front lately.\r\n\r\nhttps://twitter.com/ethomson/status/580477326208712704"}}