threads / discuss / 26581

non-interactive rebase opens vim

Subject: non-interactive rebase opens vim

## tl;dr

2 messages between Feb 23, 2011 and Feb 23, 2011.

replies: 1people: 2as markdown or json

Marc Strapetz· Feb 23, 2011, 13:21 UTC · lore

I've started a non-interactive rebase (of 3 commits) which results in a conflict for the first commit. After resolving the conflict, I've invoked

git rebase --continue

which brings up vim. I would not expect that. The main problem with this behavior is that, when invoked from our GUI client, this results in the client hanging forever. What forces git to open vim and how can I avoid that?

git version 1.7.3.1.msysgit.0

-- Best regards, Marc Strapetz ============= syntevo GmbH http://www.syntevo.com http://blog.syntevo.com

Marc Weber· Feb 23, 2011, 13:38 UTC · re: Marc Strapetz · lore

Re: non-interactive rebase opens vim

Excerpts from Marc Strapetz's message of Wed Feb 23 14:21:08 +0100 2011:
> which brings up vim. I would not expect that. The main problem with this
> behavior is that, when invoked from our GUI client, this results in the
> client hanging forever. What forces git to open vim and how can I avoid
> that?

Maybe use gvim --nofork as editor? Its not a true fix.. but the most simple workaround which comes to my mind.

Marc Weber

← back to recent threads