1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00

Change expected sha for DiscardOldFileChanges

This commit is contained in:
Peter Lundberg
2019-04-07 14:25:17 +02:00
committed by Jesse Duffield
parent 7ff07e1454
commit fc3a57b5e2
2 changed files with 2 additions and 2 deletions

View File

@ -860,7 +860,7 @@ func (c *GitCommand) DiscardOldFileChanges(commits []*Commit, commitIndex int, f
return err
}
cmd, err := c.PrepareInteractiveRebaseCommand(sha+"^", todo, true)
cmd, err := c.PrepareInteractiveRebaseCommand(sha, todo, true)
if err != nil {
return err
}