]> git.proxmox.com Git - libgit2.git/commit
path: error out if the callback returns an error
authorCarlos Martín Nieto <cmn@dwim.me>
Sat, 6 Jun 2015 01:55:28 +0000 (03:55 +0200)
committerCarlos Martín Nieto <cmn@dwim.me>
Sat, 6 Jun 2015 01:55:28 +0000 (03:55 +0200)
commit8da44047050c16b563575cf973c1f33b6149f1cc
treee714d8e1ef4313156cb8d996092abca8d4e1f5de
parentbabdc376c7a0ed698ada5f0512789bd99a8b2c4a
path: error out if the callback returns an error

When the callback returns an error, we should stop immediately. This
broke when trying to make sure we pass specific errors up the chain.

This broke cancelling out of the loose backend's foreach.
src/path.c
tests/odb/foreach.c