The question about this problem has been asked several times already:
- fetch/pull error - fatal: read error: Invalid argument
- Git Peer to Peer sharing - fatal: read error: Invalid argument
I have the same error, but am looking for a valid diagnosis method to conclude that its a network problem or git (don't need to fix it afterwards).
Problem description
Git version that is used is 1.8.4.msysgit.0
Bare repo hosted with git daemon on one of the computers
git daemon --verbose --export-all --enable=receive-pack --base-path="C:\path\to\git_remotes"
Other computers use that repo via git protocol
People on other computers (all in same subnet) can sometimes do successful
clone/pull/fetch/push
. Other times they get the following error
Their actions are always detected in the shell where git daemon is started, even on failure. A local clone/pull/fetch/push from the daemon works always
Update: git fsck
On the local repo (one that always works). There is one dangling blob. On the bare repo (thats on the same computer as the local repo). No dangling blobs or commits.
On other non-bare repos (on other computer created by cloning the bare repo):
- one has multiple dangling blobs and commits
- one is clean
They both don't function.
What is the meaning of the error above and can it be diagnosed with wireshark (it mentions some pack headers) to see if it's a network or a git error?