Only hardcode git path on Mac
This commit is contained in:
@@ -733,7 +733,8 @@
|
|||||||
:ensure t
|
:ensure t
|
||||||
:custom
|
:custom
|
||||||
(magit-save-repository-buffers 'dontask)
|
(magit-save-repository-buffers 'dontask)
|
||||||
(magit-git-executable "/usr/bin/git")
|
;; On Mac, use system git because Nix-installed git is very slow under magit
|
||||||
|
(magit-git-executable (if ON-MAC "/usr/bin/git" "git"))
|
||||||
:bind (("C-x g" . magit-status)
|
:bind (("C-x g" . magit-status)
|
||||||
:map magit-mode-map
|
:map magit-mode-map
|
||||||
(":" . execute-extended-command)
|
(":" . execute-extended-command)
|
||||||
|
|||||||
Reference in New Issue
Block a user