show the user name
This commit is contained in:
parent
ba2f156c3d
commit
17a62eb8da
|
@ -94,7 +94,7 @@ func checkNormalRepoState(repo *gitpb.Repo) error {
|
||||||
repo.VerifyRemoteAndLocalBranches(repo.GetMasterBranchName())
|
repo.VerifyRemoteAndLocalBranches(repo.GetMasterBranchName())
|
||||||
|
|
||||||
if repo.GetCurrentBranchName() != repo.GetUserBranchName() {
|
if repo.GetCurrentBranchName() != repo.GetUserBranchName() {
|
||||||
log.Info("changing to user branch", repo.FullPath)
|
log.Infof("changing to user(%s) branch: %s\n", repo.GetUserBranchName(), repo.FullPath)
|
||||||
repo.CheckoutUser()
|
repo.CheckoutUser()
|
||||||
repo.ReloadCheck()
|
repo.ReloadCheck()
|
||||||
err = log.Errorf("now on user branch")
|
err = log.Errorf("now on user branch")
|
||||||
|
|
Loading…
Reference in New Issue