{"push_id":1046691468,"size":1,"distinct_size":1,"ref":"refs/heads/git-inconsistent-ignore-match","head":"f3828793ae9ecf336e83b8384b4a7713ac343086","before":"ad7854310283eddc03842f34120e28d95f780353","commits":[{"sha":"f3828793ae9ecf336e83b8384b4a7713ac343086","author":{"email":"b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@as-cii.com","name":"Antonio Scandurra"},"message":"Fix .gitignore pattern matching with globs and path delimiters\n\nPreviously, when encountering a glob pattern, we would skip any character until\nsome of them start to match, in which case we return true in `p_fnmatchx`. This\nseems inconsistent with how the `git` CLT handles this scenario: if, for\ninstance, we have a pattern like `**/_*/`, git interprets it as: \"find any\nfolder that starts with `_`\"; conversely, libgit2 interprets it as: \"find any\nfolder that contains `_`\".\n\nThis commit changes the way we match .gitignore patterns against strings, so\nthat when encountering a glob followed by a path delimiter, we enforce that\nstring also starts with a path delimiter.","distinct":true,"url":"https://api.github.com/repos/as-cii/libgit2/commits/f3828793ae9ecf336e83b8384b4a7713ac343086"}]}