summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
Diffstat (limited to 'common.go')
-rw-r--r--common.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/common.go b/common.go
index c90b9af..cff90a9 100644
--- a/common.go
+++ b/common.go
@@ -7,6 +7,7 @@ import (
"sort"
"github.com/go-cmd/cmd"
+ "go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
)
@@ -62,7 +63,7 @@ func (r *RepoRow) State() string {
}
func (r *RepoRow) Scan() int {
- return r.NewScan()
+ return r.Update()
}
// returns a name for human consuption only
@@ -75,6 +76,10 @@ func (r *RepoRow) GetGoPath() string {
return r.pb.GetGoPath()
}
+func (r *RepoRow) GetPb() *gitpb.Repo {
+ return r.pb
+}
+
func (r *RepoRow) CheckDirty() bool {
return r.pb.CheckDirty()
}