Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
6
Help us understand the problem. What is going on with this article?

More than 5 years have passed since last update.

@pronard9627

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

6
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
6
Help us understand the problem. What is going on with this article?