microsoft / git

A fork of Git containing Microsoft-specific patches.
http://git-scm.com/
Other
782 stars 92 forks source link

v2.45.2.vfs.0.2: performance regression in pathspec checkouts #673

Closed derrickstolee closed 3 months ago

derrickstolee commented 3 months ago

Setup

$ git --version --build-options

v2.45.2.vfs.0.2

Are you using Scalar or VFS for Git?

VFS for Git

If VFS for Git, then what version? (latest)

Details

git restore .

This used to be fast, but now is slow.

Note: I'm passing this report from an internal user. I've recommended that they use git reset --hard as a way that should avoid the current regression as well as communicating to Git the full expectation of what is going on, but this performance regression should be avoided. Unfortunately, this also means the issue fixed by #658 is not fully fixed.

dscho commented 3 months ago

Please test v2.45.2.vfs.0.3.