TortoiseGit extremely slow on network shares / UNC paths since 2.14
What steps will reproduce the problem?
- Install TortoiseGit 2.14 or 2.15
- Open a network share in Windows Explorer, e.g.
\\192.168.123.123\Foo\bar
- Right-click and select, e.g., TortoiseGit > Show log
What is the expected output? What do you see instead?
The log window (or whichever) should open almost instantly as it did in version 2.13 and before. Instead, it takes about 1 or 2 minutes on my machine to open. Any action inside the window, e.g. viewing the diff between two files, also takes forever. Even opening the TortoiseGit settings takes forever. This only happens on network shares. Repositories on local drives are not affected.
What version of TortoiseGit and Git are you using? On what operating system?
I tried TortoiseGit 2.14.0.1 and 2.15.0.0. I am using the latest version of Git, which is 2.42.0.2, and Windows 10 22H2. All software is 64-bit.
Please provide any additional information below.
Downgrading to 2.13.0.1 fixes the issue.