mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 12:55:47 +02:00
Rename RebaseMode to WorkingTreeState
We're about to add more possible values (reverting and cherry-picking), so working tree state seems like a more suitable name.
This commit is contained in:
parent
1a73697546
commit
cd36e95a82
17 changed files with 50 additions and 50 deletions
|
@ -31,7 +31,7 @@ type CommitLoader struct {
|
|||
*common.Common
|
||||
cmd oscommands.ICmdObjBuilder
|
||||
|
||||
getWorkingTreeState func() enums.RebaseMode
|
||||
getWorkingTreeState func() enums.WorkingTreeState
|
||||
readFile func(filename string) ([]byte, error)
|
||||
walkFiles func(root string, fn filepath.WalkFunc) error
|
||||
dotGitDir string
|
||||
|
@ -42,7 +42,7 @@ type CommitLoader struct {
|
|||
func NewCommitLoader(
|
||||
cmn *common.Common,
|
||||
cmd oscommands.ICmdObjBuilder,
|
||||
getWorkingTreeState func() enums.RebaseMode,
|
||||
getWorkingTreeState func() enums.WorkingTreeState,
|
||||
gitCommon *GitCommon,
|
||||
) *CommitLoader {
|
||||
return &CommitLoader{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue