I have 5 submodules and a git submodule update
takes 6-8 seconds. The same git submodule update
command on the same repo in ubuntu 13.10 takes 0.4 seconds.
In order to resolve this, I've tried everything listed in these two questions:
Msysgit bash is horrendously slow in Windows 7
Git/Bash is extremely slow in Windows 7 x64
I've performed the following:
- Fresh windows x64 install using virtualbox with plenty of memory and 4 cores
- Install msysgit in c:\git\
- Disable UAC by turning off the luafv driver in the registry and setting UAC to 'never'
- Run git bash as administrator
- $HOME variable is on the C: drive
export PS1='$'
in git bashgit config --global core.preloadindex true
git config --global core.fscache true
git config --global gc.auto 256
- No antivirus installed
I'm out of ideas and figured I'd ask if anyone has had this same issue, specifically with submodule updates. Git performance otherwise is acceptable when implementing the above list of changes. I'm beginning to think the implementation of the git command in windows is actually at fault.