git emacsclient issues

0

I set my editor variable like so:

git config --global core.editor "`which emacsclient` -t -s"

and get this output whenever I want to edit the message during a commit

emacsclient: aliased to /Applications/Emacs.app/Contents/MacOS/bin/emacsclient -t -s :      
emacsclient:: command not found
error: There was a problem with the editor 'emacsclient: aliased to
/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -t -s '.
Please supply the message using either -m or -F option.

bneil

Posted 2013-04-13T11:46:57.023

Reputation: 1 277

Answers

2

Did you checked the output ofwhich emacsclient command? I bet it is

emacsclient: aliased to /Applications/Emacs.app/Contents/MacOS/bin/emacsclient

Anyway, your global git config is located ~/.gitconfig file, so you can check and edit it.

Mustafa Simav

Posted 2013-04-13T11:46:57.023

Reputation: 181

0

Setting the full path "/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -t -s" and not the alias to be the editor worked for me.

bneil

Posted 2013-04-13T11:46:57.023

Reputation: 1 277