git status 执行很慢

repo 在 exfat 的u盘上,git status 慢的让人发指!!

自从进行了如下设置,神清气爽:

1
git config core.checkStat minimal

git-config引用的说明:

core.checkStat
Determines which stat fields to match between the index and work tree. The user can set this to default or minimal. Default (or explicitly default), is to check all fields, including the sub-second part of mtime and ctime.