spr
spr copied to clipboard
invalid data in index - calculated checksum does not match expected; class=Index (10)
I am using git 2.43 and have seen this error when creating a PR
> spr diff -m update --cherry-pick --update-message
🛑 invalid data in index - calculated checksum does not match expected; class=Index (10)
I assume it's related to https://github.com/libgit2/libgit2/pull/6738 and it looks like upgrading libgit2 to 1.8.0 should fix the problem.
Btw, setting git config --global feature.manyFiles false works around the issue.
On ubuntu 20 git 2.47.1, spr diff by itself will throw the same error message.
Workaround posted above doesn't fix it for me :/
Maybe I messed up somewhere but rerunning the workaround a second time did do it for me