summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.go4
-rw-r--r--scan.go4
2 files changed, 5 insertions, 3 deletions
diff --git a/init.go b/init.go
index f1cc9fa..9a22624 100644
--- a/init.go
+++ b/init.go
@@ -21,7 +21,7 @@ func Init(f *forgepb.Forge, g *gui.Node) *RepoList {
me.viewName = "autotypist"
- repos := me.forge.Repos.SortByPath()
+ repos := me.forge.Repos.SortByGoPath()
for repos.Scan() {
repo := repos.Next()
if me.forge.IsReadOnly(repo.GoPath) {
@@ -47,7 +47,7 @@ func InitBox(f *forgepb.Forge, newbox *gui.Node) *RepoList {
me.viewName = "autotypist"
- repos := me.forge.Repos.SortByPath()
+ repos := me.forge.Repos.SortByGoPath()
for repos.Scan() {
repo := repos.Next()
if me.forge.IsReadOnly(repo.GoPath) {
diff --git a/scan.go b/scan.go
index 8c0afd5..8c37f36 100644
--- a/scan.go
+++ b/scan.go
@@ -36,7 +36,7 @@ func (r *RepoList) ScanRepositories() (int, string) {
me.shownCount.SetText(tmp)
me.duration.SetText(s)
- log.Info("Scanned", i, "repositories.", total, "changes in", s)
+ log.Info("repolist Scanned", i, "repositories.", total, "changes in", s)
return i, s
}
@@ -73,6 +73,8 @@ func (r *RepoRow) NewScan() int {
if r.Status.GitState() == "PERFECT" {
r.Hide()
+ } else {
+ r.Show()
}
/*