mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 12:55:47 +02:00
Make WorkingTreeState a struct, and add cherry-picking and reverting states
This commit is contained in:
parent
8af8f7754b
commit
542525743c
17 changed files with 176 additions and 95 deletions
|
@ -171,7 +171,7 @@ func (self *CommitLoader) MergeRebasingCommits(commits []*models.Commit) ([]*mod
|
|||
}
|
||||
}
|
||||
|
||||
if !self.getWorkingTreeState().IsRebasing() {
|
||||
if !self.getWorkingTreeState().Rebasing {
|
||||
// not in rebase mode so return original commits
|
||||
return result, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue