From 47482a2c06c064361a2291645078efe459f416b4 Mon Sep 17 00:00:00 2001 From: Davin Kevin Date: Wed, 31 Jul 2024 18:02:53 +0200 Subject: [PATCH] feat(editor): support usage of alternative `sequence.editor` --- git/realgit/realcmd.go | 1 + 1 file changed, 1 insertion(+) diff --git a/git/realgit/realcmd.go b/git/realgit/realcmd.go index fe63f56..5bd4a43 100644 --- a/git/realgit/realcmd.go +++ b/git/realgit/realcmd.go @@ -77,6 +77,7 @@ func (c *gitcmd) GitWithEditor(argStr string, output *string, editorCmd string) "-c", fmt.Sprintf("core.editor=%s", editorCmd), "-c", "commit.verbose=false", "-c", "rebase.abbreviateCommands=false", + "-c", fmt.Sprintf("sequence.editor=%s", editorCmd), } args = append(args, strings.Split(argStr, " ")...) cmd := exec.Command("git", args...)