summaryrefslogtreecommitdiff
path: root/scan.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-14 13:29:24 -0600
committerJeff Carr <[email protected]>2024-01-14 13:29:24 -0600
commit68b7338b62b73cb3329a90bbdafb3b868c0caa0e (patch)
tree7daf7154d748eef37806db9d5e0135ab93a75035 /scan.go
parent269490693ec8a153ab7d6718d9ecd7e09b6c322d (diff)
properly set name for the 'user' branch
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'scan.go')
-rw-r--r--scan.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/scan.go b/scan.go
index 74f926b..2b8ce71 100644
--- a/scan.go
+++ b/scan.go
@@ -20,16 +20,19 @@ func (r *repo) newScan() bool {
return false
}
mn := r.status.GetMasterName()
+ r.masterName.Set(mn)
mv := r.status.GetMasterVersion()
- r.masterVersion.Set(mn + "\n" + mv)
+ r.masterVersion.Set(mv)
dn := r.status.GetDevelName()
+ r.develName.Set(dn)
dv := r.status.GetDevelVersion()
- r.develVersion.Set(dn + "\n" + dv)
+ r.develVersion.Set(dv)
un := r.status.GetUserName()
+ r.userName.Set(un)
uv := r.status.GetUserVersion()
- r.jcarrVersion.Set(un + "\n" + uv)
+ r.userVersion.Set(uv)
cbname := r.status.GetCurrentBranchName()
cbversion := r.status.GetCurrentBranchVersion()