polite-fountain-28010
11/13/2023, 9:58 AMGARDEN_GIT_SCAN_MODE=repo
the default?
It's faster on all platforms, but significantly faster on Windows due to Windows having a high overhead for spawning subprocesses, and the subtree
mode spawns a lot in larger projects.polite-fountain-28010
11/13/2023, 10:58 AMswift-garage-61180
11/13/2023, 11:57 AMrepo
mode might be slower on some common repo types. Maybe smaller ones with not too many subtrees?
But if we're starting to feel like it's a better default, then maybe we should try that out.
It's always easy to revert the default mode in a follow-up release if we start hearing complaints.polite-fountain-28010
11/13/2023, 1:50 PMpolite-fountain-28010
11/13/2023, 1:51 PMgit rev-parse --show-toplevel
calls from getRepoRoot
, which are also very expensive on Windows when dealing with large projects.swift-garage-61180
11/13/2023, 3:05 PM