This is what I have in my ~/.bashrc
export GIT_EDITOR='/Applications/MacVim.app/Contents/MacOS/Vim -g '
When I issue
git commit
then I get a macvim editor but on the command line I see this message
$ git commit
Aborting commit due to empty commit message.
If I use change GIT_EDITOR to use textmate then things work fine
export GIT_EDITOR='/usr/local/bin/mate -w'
I don't want to use textmate. I want to use macvim. I am using mac and use bash.