Explicitly pass --no-autosquash when rebasing

This fixes the problem shown in the previous commit.
This commit is contained in:
stk 2023-02-09 18:21:11 +01:00
parent e357c00d4d
commit 1da762c295
3 changed files with 4 additions and 6 deletions

View file

@ -129,7 +129,7 @@ func (self *RebaseCommands) PrepareInteractiveRebaseCommand(baseSha string, todo
debug = "TRUE"
}
cmdStr := fmt.Sprintf("git rebase --interactive --autostash --keep-empty %s", baseSha)
cmdStr := fmt.Sprintf("git rebase --interactive --autostash --keep-empty --no-autosquash %s", baseSha)
self.Log.WithField("command", cmdStr).Debug("RunCommand")
cmdObj := self.cmd.New(cmdStr)