You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a repository with a number of submodules that contain Git LFS files.
If I run git lfs clone http://myrepo I get this:
...
Submodule path '<<redacted>>': checked out '2ce6e6b1f21926163ffa5df
4d561c46f54ab88c0'
Submodule path '<<redacted>>': checked out '6f432dbb51f33dff47a57f93
ca4182d1d6a2ebe4'
Git LFS: (9 of 9 files) 6.62 MB / 6.62 MB
Git LFS: (27 of 27 files) 10.80 MB / 10.82 MB
Git LFS: (3 of 3 files) 87.81 KB / 90.48 KB
Git LFS: (77 of 77 files) 4.49 MB / 4.54 MB
Git LFS: (2993 of 2999 files) 2.30 GB / 2.34 GB
cannot write data to tempfile "D:\\git\\<<redacted>>\\.git\\modules\\<<redacted>>
hicleLibs\\lfs\\objects\\incomplete\\46d7472c30b5b53787a9272a3fca6afc2e3464fef18
b9e743081fbe6da59a5b6.tmp": unexpected EOF
I think "Unexpected EOF" is more likely to come from the read end of the copy rather than the write end, the error would (I believe) be a separate disk full message or write error. The copy knows the expected length so any interrupted transfer would result in that kind of message. I have built on Windows and run some submodule tests, but never with that level of data since I don't have submodule examples that big.
Activity
ttaylorr commentedon Aug 10, 2016
Hmm... this looks like one of these may be the problem? https://github.com/github/git-lfs/blob/42eec79523f654f904faabc7d4722f65d3348960/transfer/basic_download.go#L180-L186
sinbad commentedon Aug 11, 2016
Looks like it's during the actual file write rather than when building the hasher, so https://github.com/github/git-lfs/blob/master/transfer/basic_download.go#L206.
I think "Unexpected EOF" is more likely to come from the read end of the copy rather than the write end, the error would (I believe) be a separate disk full message or write error. The copy knows the expected length so any interrupted transfer would result in that kind of message. I have built on Windows and run some submodule tests, but never with that level of data since I don't have submodule examples that big.
larsxschneider commentedon Aug 11, 2016
The
unexpected EOFerror is defined here. But onlyReadAtLeastandReadFullcan trigger this error. We don't use these functions I think...ttaylorr commentedon Aug 11, 2016
I was suggesting that the hasher that gets built and passed into the function that you pointed out may be the culprit.