-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEqR4jDDCme6EynCdoIrEJKt3cR90FAll8ukcACgkQIrEJKt3c
R92ggA/+OOPMqkw45XX6Nd6MsdwBPK093dW007puAojKm5i0X7njoanIGPNcajjv
X44S9usihAx2WR/Fui5qgf4MLM/yMsam3wUonJnFVvZSmAv+iNjvxpDwyp/KetMA
P7E00SbJHSyJr6wB1XyYoBM2Sdye5rmPRuR11oxNW9Twlip0aBudCj43+U1ESWBm
iyXFidF83bhiJJd8as8VFaWwkJTar5eCSpwb7eN8H+nw5twoVLuH+HRdttQjw6e4
OYzrMJZyjqn88N3wsIlL21gPkeqFQ1IYThi4FlO7z3+AKBA2hvctYdlNI3bYzqCB
bkt3G5M43+QfjZVHW4XIYDdUak7Cs91U6FVqKhV5stkfCz/Mhjn7PByqEmZeX/tA
srA82Sx4R/IblhwnnFvWcB54/51QE0TlF6kOhOl3pverwcB0/5vPPK/TJ4QabG5G
hZO1x2xgNs3zuRoDTXa53DlrbH4KnCN0ep/O63P/Jbl6z2DzUwRq5RHhY6W0pwGB
cQKODatc885zkAEZzDMRO1E+ME6Yo6jQiwcKm0Og0UL7MKIRb5Guioqn83gHX+lh
s2KgZpK1u555KfkvtmVSzNQBbQlGF8UtFUuQlbyNYcAcJLrCNjjbfEohKAjnhG6L
qHf4LQMa0SH+PzdHlmUNHEYIpPwWS1T0gV7gf3gi66AcxOK60i8=
=kFuv
-----END PGP SIGNATURE-----
Merge tag 'upstream/0.26.0+dfsg.1'
Upstream version 0.26.0+dfsg.1
* tag 'upstream/0.26.0+dfsg.1': (367 commits)
DFSG changes
CHANGELOG: document git_filter_init and GIT_FILTER_INIT
Adding git_filter_init for initializing `git_filter` struct + unit test
adding GIT_FILTER_VERSION to GIT_FILTER_INIT as part of convention
tests: odb: add more low-level backend tests
tests: odb: implement `exists_prefix` for the fake backend
tests: odb: use correct OID length
tests: odb: have the fake backend detect ambiguous prefixes
tests: core: test initialization of `git_proxy_options`
tests: network: add missing include for `git_repository_new`
cmake: disable optimization on debug builds
cmake: set "-D_DEBUG" on non-Windows platforms
cmake: remove stale comment on precompiled headers
travis: replace use of deprecated homebrew/dupes tap
travis: install openssl explicitly
remote: ensure we can create an anon remote on inmemory repo
repository: don't fail to create config option in inmemory repo
repository_item_path: return ENOTFOUND when appropriate
tests: odb: add tests with multiple backends
tests: odb: allow passing fake objects to the fake backend
...
Introduce a new test suite "odb::backend::simple", which utilizes the
fake backend to exercise the ODB abstraction layer. While such tests
already exist for the case where multiple backends are put together, no
direct testing for functionality with a single backend exist yet.
The fake backend currently implements all reading functions except for
the `exists_prefix` one. Implement it to enable further testing of the
ODB layer.
The `search_object` function takes the OID length as one of its
parameters, where its maximum length is `GIT_OID_HEXSZ`. The `exists`
function of the fake backend used `GIT_OID_RAWSZ` though, leading to
only the first half of the OID being used when finding the correct
object.
In order to be able to test the ODB prefix functions, we need to be able
to detect ambiguous prefixes in case multiple objects with the same
prefix exist in the fake ODB. Extend `search_object` to detect ambiguous
queries and have callers return its error code instead of always
returning `GIT_ENOTFOUND`.