今天看到 magit 提醒用户使用包管理器( brew, nix 等)安装的 git 可能会比用系统自带(/usr/bin/git)的慢。
我测试了下,用 macports 安装的 git(/opt/local/bin/git) 也是有同样问题的,其他包管理器我没测试过。
可以通过定义这个变量 magit-git-executable 使用指定的 git。
这是 magit manual 的提醒:macos-performance
今天看到 magit 提醒用户使用包管理器( brew, nix 等)安装的 git 可能会比用系统自带(/usr/bin/git)的慢。
我测试了下,用 macports 安装的 git(/opt/local/bin/git) 也是有同样问题的,其他包管理器我没测试过。
可以通过定义这个变量 magit-git-executable 使用指定的 git。
这是 magit manual 的提醒:macos-performance
都过去5、6年了,具体情况测试后才会知道
试了从 brew 和 nix 装,对比自带的,没察觉到什么区别
此话题已在最后回复的 730 天后被自动关闭。不再允许新回复。