2023-04-26 14:54:36 +00:00
|
|
|
package config
|
|
|
|
|
|
|
|
type Git struct {
|
|
|
|
Branch string `json:"branch,omitempty"`
|
|
|
|
OriginURL string `json:"origin_url,omitempty"`
|
|
|
|
Commit string `json:"commit,omitempty" bundle:"readonly"`
|
2023-07-30 12:44:33 +00:00
|
|
|
|
|
|
|
// Inferred is set to true if the Git details were inferred and weren't set explicitly
|
|
|
|
Inferred bool `json:"-" bundle:"readonly"`
|
|
|
|
|
|
|
|
// The actual branch according to Git (may be different from the configured branch)
|
|
|
|
ActualBranch string `json:"-" bundle:"readonly"`
|
2023-04-26 14:54:36 +00:00
|
|
|
}
|