odb: Handle corner cases in `git_odb_expand_ids`
The old implementation had two issues: 1. OIDs that were too short as to be ambiguous were not being handled properly. 2. If the last OID to expand in the array was missing from the ODB, we would leak a `GIT_ENOTFOUND` error code from the function.
Showing
Please
register
or
sign in
to comment