spr icon indicating copy to clipboard operation
spr copied to clipboard

invalid data in index - calculated checksum does not match expected; class=Index (10)

Open tgeng opened this issue 1 year ago • 3 comments

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.

tgeng avatar Apr 10 '24 22:04 tgeng

Btw, setting git config --global feature.manyFiles false works around the issue.

tgeng avatar Jul 01 '24 19:07 tgeng

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 :/

SinOverCos avatar Nov 27 '24 17:11 SinOverCos

Maybe I messed up somewhere but rerunning the workaround a second time did do it for me

SinOverCos avatar Nov 27 '24 17:11 SinOverCos