summaryrefslogtreecommitdiff
path: root/doNormal.go
diff options
context:
space:
mode:
Diffstat (limited to 'doNormal.go')
-rw-r--r--doNormal.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/doNormal.go b/doNormal.go
index aed713a..e649731 100644
--- a/doNormal.go
+++ b/doNormal.go
@@ -205,10 +205,10 @@ func checkNormalRepoState(repo *gitpb.Repo) error {
return ErrorLocalMasterBranch
}
- if repo.Tags.Master == nil {
+ if repo.MasterStat == nil {
if found := repo.GetRemoteTag(repo.GetMasterBranchName()); found != nil {
// log.Info("found master tag ", repo.FullPath, found)
- repo.Tags.Master = proto.Clone(found).(*gitpb.GitTag)
+ repo.MasterStat = proto.Clone(found).(*gitpb.Stat)
config.SetChanged("repos", true)
} else {
log.Info("not found master tag (Reload() ?)", repo.FullPath)