mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-13 22:17:05 +02:00
better rebase args
This commit is contained in:
parent
d5e443e8e3
commit
1fc120de2d
@ -726,7 +726,7 @@ func (c *GitCommand) PrepareInteractiveRebaseCommand(baseSha string, todo string
|
|||||||
debug = "TRUE"
|
debug = "TRUE"
|
||||||
}
|
}
|
||||||
|
|
||||||
splitCmd := str.ToArgv(fmt.Sprintf("git rebase --interactive --autostash %s", baseSha))
|
splitCmd := str.ToArgv(fmt.Sprintf("git rebase --interactive --autostash --keep-empty --rebase-merges %s", baseSha))
|
||||||
|
|
||||||
cmd := c.OSCommand.command(splitCmd[0], splitCmd[1:]...)
|
cmd := c.OSCommand.command(splitCmd[0], splitCmd[1:]...)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user