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 checksum in GitIndex buffer: expected but saw da39a3ee5e6b4b0d3255bfef95601890afd80709 #1774

Closed
belinidaniel opened this issue Jun 15, 2023 · 10 comments

Comments

@belinidaniel
Copy link

An internal error caused this command to fail. Please file a bug report at https://github.com/isomorphic-git/isomorphic-git/issues with this error message: Invalid checksum in GitIndex buffer: expected but saw da39a3ee5e6b4b0d3255bfef95601890afd80709

@jcubic
Copy link
Contributor

jcubic commented Jun 15, 2023

Can you share some details about the error? What software you use, and where this happens?

this looks like duplicate of #1733

@belinidaniel
Copy link
Author

belinidaniel commented Jun 15, 2023

image
Hello @jcubic I'm trying deploy with salesforce sfdx using the default config of SFDX with VScode

this error stated this week

@jcubic
Copy link
Contributor

jcubic commented Jun 15, 2023

You need to contact developers that maintain the software you're using, so they update the library, they break their code and you blame isomorphic git because of the error message. The new error message should say that is wrong with their code. THe problem is that git index is empty which means that the tool you're using deleted the file somehow.

@jcubic jcubic changed the title An internal error caused this command to fail. Please file a bug report at https://github.com/isomorphic-git/isomorphic-git/issues with this error message: Invalid checksum in GitIndex buffer: expected but saw da39a3ee5e6b4b0d3255bfef95601890afd80709 Invalid checksum in GitIndex buffer: expected but saw da39a3ee5e6b4b0d3255bfef95601890afd80709 Jun 15, 2023
@mojavelinux
Copy link
Contributor

@jcubic I think the comment in the error message that instructs the user to report the issue to the isomorphic-git project should be removed. I've never found those sorts of suggestions to be productive.

@jcubic
Copy link
Contributor

jcubic commented Jun 15, 2023

Agree. The error was supposed to find errors in a library, but this is really annoying because people report here instead of the project they are using.

@jayree
Copy link
Contributor

jayree commented Jun 15, 2023

@jcubic this issue is related to #1768 I've had the same index issue with one of my sfdx plugins using statusmatrix. Had to pin iso-git version to 1.23 to fix it.

@jcubic
Copy link
Contributor

jcubic commented Jun 16, 2023

I'll try to add a dummy PR with a proper bugfix commit message.

@dead-end
Copy link
Contributor

The issue at foresales: forcedotcom/cli#2194

@AzferPervaiz
Copy link

Had the same issue, it was fixed when I deleted the index file after searching for it, the file is mentioned as: .git/index

@jcubic
Copy link
Contributor

jcubic commented Aug 18, 2023

Try reporting this to project forcedotcom/cli.

I know that the error says to report it here, but the bug is in the Salesforce extension, nothing we can do about the bug in that project.

@jcubic jcubic closed this as completed Aug 18, 2023
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

6 participants