spacedentist / spr

Submit pull requests for individual, amendable, rebaseable commits to GitHub
https://getcord.github.io/spr/
MIT License
376 stars 33 forks source link

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

Open tgeng opened 2 months ago

tgeng commented 2 months ago

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 commented 3 days ago

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