summaryrefslogtreecommitdiff
path: root/git.go
diff options
context:
space:
mode:
Diffstat (limited to 'git.go')
-rw-r--r--git.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/git.go b/git.go
index c240f2b..cbfcd5c 100644
--- a/git.go
+++ b/git.go
@@ -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()