Skip to content
Snippets Groups Projects
Commit 39d38c4e authored by Antoine Lambert's avatar Antoine Lambert
Browse files

test_loader: Fix implementation of test_loader_with_ref_delta_in_pack

Previous implementation was building an invalid pack file with REF_DELTA
object types as it was using the new object to deltify as the base of the
delta.

This was leading to errors and undefined behavior after building an index
for such a pack file as the deltified objects could not be properly resolved
by dulwich (observed by stsp while working on git loader improvements).

The bases for deltified objects are now objects that were previously loaded
into the archive.

Tag objects produced in that test are also ensured to be valid.
parent a8a5077a
No related branches found
No related tags found
1 merge request!184test_loader: Fix implementation of test_loader_with_ref_delta_in_pack
Pipeline #9180 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment