diff --git a/initRepoList.go b/initRepoList.go index 2f33f3f..3b47ac8 100644 --- a/initRepoList.go +++ b/initRepoList.go @@ -30,7 +30,7 @@ func (r *repoWindow) initRepoList() { if ubranch == "" { ubranch = usr.Username } - r.View.AddRepo(path, mbranch, dbranch, ubranch) + r.View.NewRepo(path) } if args.OnlyMe { @@ -42,7 +42,7 @@ func (r *repoWindow) initRepoList() { path = strings.TrimPrefix(path, me.goSrcPwd.String()) path = strings.Trim(path, "/") log.Info("addRepo()", i, path) - r.View.AddRepo(path, "master", "devel", usr.Username) + r.View.NewRepo(path) } } }