Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tgeng opened this issue Apr 10, 2024 · 3 comments

Comments

@tgeng
Copy link

tgeng commented Apr 10, 2024

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 libgit2/libgit2#6738 and it looks like upgrading libgit2 to 1.8.0 should fix the problem.

@tgeng
Copy link
Author

tgeng commented Jul 1, 2024

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

@SinOverCos
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants