Name |
Last commit
|
Last update |
---|---|---|
.. | ||
backend | ||
alternates.c | ||
foreach.c | ||
loose.c | ||
loose_data.h | ||
mixed.c | ||
pack_data.h | ||
pack_data_one.h | ||
packed.c | ||
packed_one.c | ||
sorting.c | ||
streamwrite.c |
The git_odb_exists_prefix API was not dealing correctly when a later backend returned GIT_ENOTFOUND even if an earlier backend had found the object. Additionally, the unit tests were not properly exercising the API and had a couple mistakes in checking the results. Lastly, since the backends are not expected to behavior correctly unless all bytes of the short id are zero except for the prefix, this makes the ODB prefix APIs explicitly clear out the extra bytes so the user doesn't have to be as careful.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
backend | Loading commit data... | |
alternates.c | Loading commit data... | |
foreach.c | Loading commit data... | |
loose.c | Loading commit data... | |
loose_data.h | Loading commit data... | |
mixed.c | Loading commit data... | |
pack_data.h | Loading commit data... | |
pack_data_one.h | Loading commit data... | |
packed.c | Loading commit data... | |
packed_one.c | Loading commit data... | |
sorting.c | Loading commit data... | |
streamwrite.c | Loading commit data... |