LoginSignup
7
6

More than 5 years have passed since last update.

msysGit+Magitが遅い

Last updated at Posted at 2014-03-25

Emacs,Magit,msysGitの組み合わせで M-x magit-status の実行が非常に遅い(自分の環境で約15秒)。コミット等の操作も同じように遅い。これじゃ使い物にならないのでいろいろやってみて対策方法がわかった。~/.emacs.d/init.elを以下のように修正すればいいみたい。

変更前の~/.emacs.d/init.el
(setq magit-git-executable "C:/Program Files/Git/bin/git.exe")
変更後の~/.emacs.d/init.el
(setq magit-git-executable "C:/Program Files/Git/cmd/git.exe")

要するに呼び出すコマンドをcmdの下のgit.exeに変更するだけ。

7
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
6