search
LoginSignup
6
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

posted at

updated at

msysGit+Magitが遅い

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に変更するだけ。

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
What you can do with signing up
6
Help us understand the problem. What are the problem?