TIL Speed up Magit on MacOS
1 min read
I’ve been using Magit in Emacs for many years and on larger (and some smaller) projects there would usually be a 3 to 5 second delay with magit-status and commits. Today I’ve been refactoring my config and fixing annoyances and learned that setting the git executable explicitly fixed that issue for me - from about 4 seconds down to less than a second.
(use-package magit
:bind ("C-x g" . magit-status)
:custom
(magit-git-executable "/opt/homebrew/bin/git"))