Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
h3adache opened this issue Feb 27, 2013 · 5 comments
Open

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

h3adache opened this issue Feb 27, 2013 · 5 comments

Comments

@h3adache
Copy link

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 $?
1

@h3adache
Copy link
Author

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

@bronzehedwick
Copy link
Contributor

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

@ghost
Copy link

ghost commented Aug 12, 2014

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

@h3adache
Copy link
Author

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

@bronzehedwick
Copy link
Contributor

Great, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants