diff options
author | Marijan Šuflaj <msufflaj32@gmail.com> | 2019-01-20 20:15:31 +0100 |
---|---|---|
committer | Marijan Šuflaj <msufflaj32@gmail.com> | 2019-01-20 20:15:31 +0100 |
commit | f7416509c065b908e6d06ec11b31379b3bc51f90 (patch) | |
tree | b0daceaa7463b5afbfab7930c8dfd82e17c20be3 /tests/diff/index.c | |
parent | 68166017dc31164aa9ad610d0d87658ab065a902 (diff) | |
download | libgit2-f7416509c065b908e6d06ec11b31379b3bc51f90.tar.gz |
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.
Diffstat (limited to 'tests/diff/index.c')
0 files changed, 0 insertions, 0 deletions