Skip to content

non-0 exit code when using git amend on OSX #308

h3adache opened this Issue Feb 27, 2013 · 5 comments

3 participants


Seems related to #170 but only happens when you are editing comments using git rebase -i or git amend.

Not sure it's related but install updates also give:

Vim: Warning: Input is not from a terminal

% git commit --amend
error: There was a problem with the editor 'vi'.
Please supply the message using either -m or -F option.
% echo $?

h3adache commented Mar 6, 2013

Can be fixed by adding

let g:spf13_keep_trailing_whitespace = 1

into ~/.vimrc.local. So related to implementation of spf13_keep_trailing_whitespace


@h3adache, does this mean that a solution has been found, and you can close the issue?


I think we'll need more than that. I dont have a mac, so i can't test it.


I haven't tried since the fix was added. I didn't even know someone worked on it until now. I'll give it a try soon as I can and let you guys know


Great, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.