Reputation: 12915
I'm trying to change my commit message using
git rebase -i HEAD~2
But when I do it i got a window with a message This application will not run on your computer. Sorry!
At terminal I have:
/System/Library/Frameworks/Ruby.framework/Versions/2.0/
usr/lib/ruby/2.0.0/universal-darwin13/rbconfig.rb:212:
warning: Insecure world writable dir /Volumes/SSS/Work in PATH, mode 040777
button returned:OK
Successfully rebased and updated refs/heads/master.
I have OSX 10.9. What is wrong with it?
More info:
git version 1.7.11.3
I should not have hooks. But may be I miss something. (I checked ~/.gitconfig)
When I change core.editor from emacs to nano the error disappear. So the problem seems to be emacs-related.
Upvotes: 2
Views: 578
Reputation: 12915
The problem was that I use alias emacs
for MacOS's Emacs
. It was solved by changing:
editor = emacs -nw
to
editor = Emacs -nw
in ~/.gitconfig
Upvotes: 2