summaryrefslogtreecommitdiff
path: root/tests/diff/diff_helpers.c
diff options
context:
space:
mode:
authorMarijan Šuflaj <msufflaj32@gmail.com>2019-01-20 20:15:31 +0100
committerMarijan Šuflaj <msufflaj32@gmail.com>2019-01-20 20:15:31 +0100
commitf7416509c065b908e6d06ec11b31379b3bc51f90 (patch)
treeb0daceaa7463b5afbfab7930c8dfd82e17c20be3 /tests/diff/diff_helpers.c
parent68166017dc31164aa9ad610d0d87658ab065a902 (diff)
downloadlibgit2-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/diff_helpers.c')
0 files changed, 0 insertions, 0 deletions