diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-11 11:42:08 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-11 17:07:49 +1000 |
commit | 8969464b00c91f3aec1a0ff6e9724eacd87c790f (patch) | |
tree | f6e628096776ebae2c531d87d8542315ae78694b /pkg/commands | |
parent | 6137d66914be6835f502027fb40f64acc52f4abc (diff) |
log TODO content when interactive rebasing
Diffstat (limited to 'pkg/commands')
-rw-r--r-- | pkg/commands/rebasing.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/commands/rebasing.go b/pkg/commands/rebasing.go index b3ff894fa..ca0b432e2 100644 --- a/pkg/commands/rebasing.go +++ b/pkg/commands/rebasing.go @@ -77,6 +77,8 @@ func (c *GitCommand) PrepareInteractiveRebaseCommand(baseSha string, todo string gitSequenceEditor := ex if todo == "" { gitSequenceEditor = "true" + } else { + c.OSCommand.LogCommand(fmt.Sprintf("Creating TODO file for interactive rebase: \n\n%s", todo), false) } cmd.Env = os.Environ() |