- [yes] I was not able to find an open or closed issue matching what I'm seeing
Setup
- Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ git --version --build-options
git version 2.38.0.windows.1
cpu: x86_64
built from commit: 0355083fbe5582f6d3f819afc130ed2f2375e0bd
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
- Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver
Microsoft Windows [Version 10.0.19043.2006]
- What options did you set as part of the installation? Or did you choose the
defaults?
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
> type "$env:USERPROFILE\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt
Editor Option: VIM
Custom Editor Path:
Default Branch Option: master
Path Option: BashOnly
SSH Option: OpenSSH
Tortoise Option: false
CURL Option: OpenSSL
CRLF Option: CRLFCommitAsIs
Bash Terminal Option: MinTTY
Git Pull Behavior Option: Merge
Use Credential Manager: Disabled
Performance Tweaks FSCache: Enabled
Enable Symlinks: Enabled
Enable Pseudo Console Support: Disabled
Enable FSMonitor: Disabled
- Any other interesting things about your environment that might be related
to the issue you're seeing?
Windows developer mode is enabled so symlinks can be created without privilege elevation.
Details
- Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
Bash
git clone http://psydata.ovgu.de/forrest_gump/.git
- What did you expect to occur after running these commands?
Repository would be cloned and working tree checked out in a reasonable amount of time.
- What actually happened instead?
Repository was cloned and checkout began normally, but slowed down to 5-20 files per second after a few seconds, and one CPU core was fully loaded. There are 14693 files to checkout in total and about 7000 remaining when it slowed down. At 20 files per second it would have taken 5.8 more minutes. The same clone and checkout on Linux took less than 5 seconds.
- If the problem was occurring with a specific repository, can you provide the
URL to that repository to help us with testing?
For example http://psydata.ovgu.de/forrest_gump/.git. Seems to affect any git-annex repository with large amount of symlinks.
Setup
defaults?
to the issue you're seeing?
Windows developer mode is enabled so symlinks can be created without privilege elevation.
Details
Bash
Minimal, Complete, and Verifiable example
this will help us understand the issue.
Repository would be cloned and working tree checked out in a reasonable amount of time.
Repository was cloned and checkout began normally, but slowed down to 5-20 files per second after a few seconds, and one CPU core was fully loaded. There are 14693 files to checkout in total and about 7000 remaining when it slowed down. At 20 files per second it would have taken 5.8 more minutes. The same clone and checkout on Linux took less than 5 seconds.
URL to that repository to help us with testing?
For example
http://psydata.ovgu.de/forrest_gump/.git. Seems to affect any git-annex repository with large amount of symlinks.