I am using Emacs on Mac OS with the package Magit. Everything works fine except when I try to do a commit (shortcut: c c
). Magit hangs with this message in the bottom bar: "running git commit".
What is weird is that when I stop the command (Ctrl-g), magit shows me the buffer to write my commit message and everything works fine. I don't know why this happens.
with-editor-emacsclient-executable
is set to /usr/local/Cellar/emacs/HEAD/bin/emacsclient
.
and calling /usr/local/Cellar/emacs/HEAD/bin/emacsclient
filename directly from the console seems to work.
Thank you for your help!
It seems to be a common problem when dealing with a large repo or a repo that has been around for a long time. Try cleaning up the repo. You can use these:
From the official docs:
Could be an issue with large diffs too:
https://github.com/magit/magit/issues/2048