-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: checksum mismatch with private dependent module with GIT LFS files #38941
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
Comments
Public dependencies with Git LFS files might be affected as well. |
Since you have obtained two different checksums, it seems likely that the repo has been cloned using two different configurations: one when the module was fetched initially (creating the The “What did you do?” step needs to describe both of those configurations, not just the most recent one. (Otherwise, how can we reproduce the failure to ensure that it is fixed?) |
The According to git-lfs/git-lfs#1322 (comment),
So it's not obvious to me why |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
Summary
Due to this issue, the generation of the checksums for private modules depends on the availability of git-lfs binary.
I propose to pass
GIT_LFS_SKIP_SMUDGE=1
to git binary when dependent modules are being fetched.Important conditions for the repro:
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
The binary being run.
What did you see instead?
Workaround
The text was updated successfully, but these errors were encountered: