odb_pack.c
16.6 KB
-
Fix odb foreach to also close on positive error code · f7416509
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.
Marijan Šuflaj committed