Hi there,
I installed Git for Windows 2.9 on a Windows Server 8 R2 Entreprise Service Pack 1 with "Checkout Windows-style, commi Unix-style line ending" option.
I launch Git Daemon from Windows command prompt :
> git daemon --base-path=E:\web_server\git_repositories\ --reuseaddr --export-all --verbose --enable=receive-pack E:\web_server\git_repositories\
I created bare repositories for test. I tried to clone and push with Git protocol localy from the Server and from a LAN computer (Windows and Linux VM). There is the following behaviour :
- Localy (git://localhost/...) : clone and push are ok even if I restart Git Daemon.
- Remote : clone and push are ok untill I restart Git Daemon. Then, I have the following failure cloning an existing repositories :
$ git clone --verbose git://my-remote-server/test.git
Cloning into 'test'...
Looking up my-remote-server ... done.
Connecting to my-remote-server (port 9418) ... xxx.xxx.xxx.xxx done.
fatal: read error: Invalid argument
fatal: early EOF
fatal: index-pack failed
===> Pull and push from existing repositories copies are still possible.
===> Clone and push from brand new repositories created after Git Daemon restart are also possible.
Well, it seems that, now, daemon restart is not such a good stuff for Git On Windows...
I tried a stackoverflow workaround on my Git conf about incorrectly sized repositories :
[core]
packedGitLimit = 512m
packedGitWindowSize = 512m
[pack]
deltaCacheSize = 2047m
packSizeLimit = 2047m
windowMemory = 2047m
and
git config --global core.compression 0
but it did not change anything.
Does anybody have found the problem already? Did I miss something on my Git server configuration?
Regards.
Vincent Ladevèze
PS : My code will not be safely stored cause the WIndows Server will restart maybe one day (or an other...)