Fix odb foreach to also close on positive error code
In include/git2/odb.h it states that callback can also return positive value which should break looping. Implementations of git_odb_foreach() and pack_backend__foreach() did not respect that.
Showing
Please
register
or
sign in
to comment