milki/dulwich — comment on commit 403a54db2dbece80a3fdad3d57c01202b521e698
File: dulwich/tests/test_index.py line 245
By jelmer:

This whole section seems way too complex, and actually duplicates the logic that's present in the function it's testing - I think it should rather just hardcoded check that the values in the index for the files you've added are what is expected.