-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Closing interactive rebase editor after "git rebase --edit" aborts rebase-in-progress #1652
Comments
Hrm, let me think about this to see how this would work. But once the rebase starts -- you'd expect that closing the editor would continue the rebase? |
Unfortunately I've had to remove the "close to abort" functionality altogether, as recent versions of VS Code changed the event timing and I can no longer reliably get it to work. So now, closing the editor will always start the rebase -- as I can't even control the closing of the editor at all now. |
Will do
…On Sun, Nov 6, 2022, 1:53 AM Eric Amodio ***@***.***> wrote:
Can you please verify this fix in tomorrow's pre-release edition of
GitLens?
You can switch to the pre-release edition of GitLens, by clicking on the
"Switch to Pre-Release version of this extension" from the Extensions view.
[image: image]
<https://user-images.githubusercontent.com/641685/199397587-6948b1bc-3019-4d85-a6d5-332fea5d8f78.png>
—
Reply to this email directly, view it on GitHub
<#1652 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEQCIPUOYB3G7W5DJ23MJDWG5BVJANCNFSM5ERWASFQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
If I'm starting a new rebase, the behavior that closing the editor (CTRL+w) aborts the rebase is natural and reasonable. Basically you need to use CTRL+ENTER to start the rebase. However, if I'm in the middle of a rebase, this behavior is really bad, to the point where I've now disabled the editor.
Steps to Reproduce:
The workflow of just closing the editor if nothing is wrong works for amending a commit, so it is really natural to do for the rebase editor. Emptying out the git-rebase-todo file is surprising in this case.
I'm not entirely sure if there is a way to differentiate between in-progress and proposed rebase sessions, so I'm not sure how hard this is to fix.
The text was updated successfully, but these errors were encountered: