diff options
| author | Jeff Carr <[email protected]> | 2024-01-13 23:29:27 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-13 23:29:27 -0600 |
| commit | 0d49ed20ac2d27d6de0881d00ea1a366be8263d6 (patch) | |
| tree | e9d588e43dc49354da1b30366ce2965ae2db9026 /git.go | |
| parent | 6223ffe7bf68868e92e9c0486b5ad4f5afbc2748 (diff) | |
allow branch namesv0.12.1
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'git.go')
| -rw-r--r-- | git.go | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -125,6 +125,20 @@ func (rs *RepoStatus) checkoutBranch(level string, branch string) { } } +func (rs *RepoStatus) SetMasterName(s string) { + rs.masterDrop.Set(s) + rs.masterBranchVersion.SetLabel(s) + // rs.major.SetTitle(s) +} + +func (rs *RepoStatus) SetDevelName(s string) { + rs.develDrop.Set(s) +} + +func (rs *RepoStatus) SetUserName(s string) { + rs.userDrop.Set(s) +} + // returns "master", "devel", os.Username, etc func (rs *RepoStatus) GetMasterName() string { name := rs.masterDrop.Get() |
