Merge pull request #3185 from libgit2/cmn/foreach-cancel-loose path: error out if the callback returns an error