3

I tried to do a git rebase but this is what I got

PS > git rebase -i HEAD~38
hint: Waiting for your editor to close the file...       0 [main] vim 1761 cygwin_exception::open_stackdumpfile: Dumping stack trace to vim.exe.stackdump
Successfully rebased and updated refs/heads/bdd-automation.

How do I resolve this?

Moses Liao GZ
  • 1,556
  • 5
  • 20
  • 45
  • A problem with the `editor` entry in your `.gitconfig` ?. – JPBlanc Mar 09 '21 at 04:43
  • @JPBlanc where do I start looking? – Moses Liao GZ Mar 13 '21 at 11:44
  • I'm having the same problem. It happens with every command related to editor opening. Doing `git commit` (without -m option) or `git rebase -i ` it gives the same error message, when the editor is set to vim (default). By changing the editor to notepad, it gives the error `error: There was a problem with the editor 'notepad'.`. So, it is related to any command that try to open the editor (I'm using windows). – Diogo Jun 10 '21 at 13:19

1 Answers1

0

You have quite a few exceptions with cygwin_exception::open_stackdumpfile

git-for-windows/git issue 3265 refers to "How can I set up an editor to work with Git on Windows?"

git config --global core.editor "'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"

So try first and set your editor to a new one, and see if the issue persists.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250