blob: f719b5de0d447b8b0bc96e1a663c7aa98f44d1d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package controllers
import (
"github.com/jesseduffield/lazygit/pkg/gui/types"
)
// all fields mandatory (except `CanRebase` because it's boolean)
type SwitchToCommitFilesContextOpts struct {
// this is something like a commit or branch
Ref types.Ref
// from the local commits view we're allowed to do rebase stuff with any patch
// we generate from the diff files context, but we don't have that same ability
// with say the sub commits context or the reflog context.
CanRebase bool
Context types.Context
}
|