always show the master branch name
This commit is contained in:
parent
61af996b84
commit
0b40e4fde2
4
scan.go
4
scan.go
|
@ -24,9 +24,7 @@ func (r *repo) newScan() bool {
|
||||||
}
|
}
|
||||||
mname := r.status.GetMasterBranchName()
|
mname := r.status.GetMasterBranchName()
|
||||||
mver := r.status.GetMasterVersion()
|
mver := r.status.GetMasterVersion()
|
||||||
if mname != "guimaster" {
|
mver = mver + " (" + mname + ")"
|
||||||
mver = mver + " (" + mname + ")"
|
|
||||||
}
|
|
||||||
r.masterVersion.SetLabel(mver)
|
r.masterVersion.SetLabel(mver)
|
||||||
|
|
||||||
dname := r.status.GetDevelBranchName()
|
dname := r.status.GetDevelBranchName()
|
||||||
|
|
Loading…
Reference in New Issue