mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-10 09:40:24 +00:00
committed by
Lunny Xiao
parent
b209531959
commit
33ad554800
5
vendor/gopkg.in/src-d/go-git.v4/options.go
generated
vendored
5
vendor/gopkg.in/src-d/go-git.v4/options.go
generated
vendored
@@ -242,6 +242,11 @@ type CheckoutOptions struct {
|
||||
// Force, if true when switching branches, proceed even if the index or the
|
||||
// working tree differs from HEAD. This is used to throw away local changes
|
||||
Force bool
|
||||
// Keep, if true when switching branches, local changes (the index or the
|
||||
// working tree changes) will be kept so that they can be committed to the
|
||||
// target branch. Force and Keep are mutually exclusive, should not be both
|
||||
// set to true.
|
||||
Keep bool
|
||||
}
|
||||
|
||||
// Validate validates the fields and sets the default values.
|
||||
|
Reference in New Issue
Block a user