Skip to content

Unset GIT_SEQUENCE_EDITOR when rebasing#19278

Merged
sergiou87 merged 1 commit intodevelopmentfrom
sequence-this
Sep 27, 2024
Merged

Unset GIT_SEQUENCE_EDITOR when rebasing#19278
sergiou87 merged 1 commit intodevelopmentfrom
sequence-this

Conversation

@niik
Copy link
Member

@niik niik commented Sep 18, 2024

Closes #15413

Description

When a user launches GitHub Desktop from a shell that has the GIT_SEQUENCE_EDITOR environment variable set Git will launch the executable specified in that variable on every step of the rebase process. We already set sequence.editor here:

`sequence.editor=cat "${pathOfGeneratedTodo}" >`,

But the environment variable takes precedence.

So we'll explicitly unset the GIT_SEQUENCE_EDITOR before launching the rebase.

Screenshots

Release notes

Notes:

@sergiou87 sergiou87 merged commit 9056933 into development Sep 27, 2024
@sergiou87 sergiou87 deleted the sequence-this branch September 27, 2024 11:26
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

Successfully merging this pull request may close these issues.

Explicitly set $GIT_SEQUENCE_EDITOR when launching from cli github .

3 participants