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

Interactive rebase won't halt to let you do the editing #445

Closed
Mailaender opened this issue May 1, 2015 · 4 comments
Closed

Interactive rebase won't halt to let you do the editing #445

Mailaender opened this issue May 1, 2015 · 4 comments

Comments

@Mailaender
Copy link
Contributor

This seems to be a regression in version 2.1.2

@davvid
Copy link
Member

davvid commented May 30, 2015

What's does git config gui.editor print? If the command you have configured doesn't block in the foreground then git will think that it's finished (e.g. when using the "reword" action) and continue on with the rebase, despite the file being unchanged.

I have gvim -o -f set as my gui.editor. Does setting yours to the same work for you?

I tried reproducing it but the git cola rebase origin/master seemed to do the right thing for me. Let me know what you find.

@Mailaender
Copy link
Contributor Author

git config gui.editor
kwrite

davvid added a commit that referenced this issue May 30, 2015
Set GIT_EDITOR unconditionally so that it's always present.

Related-to: #445
Signed-off-by: David Aguilar <davvid@gmail.com>
@davvid davvid closed this as completed in b9f556c May 30, 2015
@davvid
Copy link
Member

davvid commented May 30, 2015

How about git config core.editor? I just fixed a bug where we were not always using gui.editor, specifically in the skip and continue commands, so Git may have fallen back to the non-gui editor.

I installed kwrite and it seems to do the right thing, so I think it was probably the hole I just patched. Let me know if that fixed it for you.

@Mailaender
Copy link
Contributor Author

git config core.editor was empty.

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