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

treefmt: error: failed to generate change set: failed to open git index: invalid checksum #255

Open
sg-qwt opened this issue Nov 2, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@sg-qwt
Copy link
Contributor

sg-qwt commented Nov 2, 2024

Hi,

After recent upgrade, I've encontered below error running nix fmt

treefmt: error: failed to generate change set: failed to open git index: invalid checksum

Any idea what might caused this and how to troubleshoot this case?

My nixos is public here, so you may be as well reproduce it by running nix fmt on it btw.

Thanks!

@sg-qwt sg-qwt added the bug Something isn't working label Nov 2, 2024
@brianmcgee
Copy link
Member

I'm finishing up some changes to the docs before releasing what's currently on main. I made many improvements, including moving away from go-git and shelling out to git instead. I suspect this would resolve your problem.

@brianmcgee brianmcgee self-assigned this Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants