From 66de981e9108c83ddb1d778eb92e948050c85311 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Sun, 11 Jun 2023 08:08:55 +0200 Subject: Add a "Mark commit as base commit for rebase" command This allows to do the equivalent of "git rebase --onto ", by first marking the commit with the new command, and then selecting the target branch and invoking the usual rebase command there. --- pkg/gui/context/sub_commits_context.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/gui/context/sub_commits_context.go') diff --git a/pkg/gui/context/sub_commits_context.go b/pkg/gui/context/sub_commits_context.go index ba2f5e3f6..2643d294b 100644 --- a/pkg/gui/context/sub_commits_context.go +++ b/pkg/gui/context/sub_commits_context.go @@ -65,6 +65,7 @@ func NewSubCommitsContext( c.State().GetRepoState().GetScreenMode() != types.SCREEN_NORMAL, c.Modes().CherryPicking.SelectedShaSet(), c.Modes().Diffing.Ref, + "", c.UserConfig.Gui.TimeFormat, c.UserConfig.Gui.ShortTimeFormat, time.Now(), -- cgit v1.2.3