summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlosmn@github.com>2021-04-11 14:27:14 +0200
committerCarlos Martín Nieto <carlosmn@github.com>2021-04-11 18:29:48 +0200
commit6591deefbf2443ef2162ac2384620bf0ec8065cb (patch)
tree01149564f445c99d0164f0791bddcae215563b32 /include
parent34b9a04c77235dfc9401cb7ef8efc6c4ee7e99dd (diff)
downloadlibgit2-6591deefbf2443ef2162ac2384620bf0ec8065cb.tar.gz
repo: remove an inappropriate use of PASSTHROUGHcmn/repo-no-passthrough
This error code is for callbacks where we should act as though the callback was not set. This is not something that makes sense for a `_foreach` and checking for that error message to bubble up mostly is happenstance precisely because this is not an error code we expect in the callback. As part of removing this, let's also remove a use of foreach as we can open-code this check.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions