mixed.c
7.63 KB
-
odb: Handle corner cases in `git_odb_expand_ids` · 9a786650
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.
Vicent Marti committed