summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--humanTable.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/humanTable.go b/humanTable.go
index c00ca6a..612e789 100644
--- a/humanTable.go
+++ b/humanTable.go
@@ -222,6 +222,9 @@ func (f *Forge) printRepoToTable(repo *gitpb.Repo, sizes []int, full bool) {
var cname string = repo.GetCurrentBranchName()
var gopath string = repo.GetNamespace()
+ if gopath == "" {
+ gopath = repo.GetFullPath()
+ }
var rtype string = repo.GetRepoType()
// ctime := repo.Tags.GetAge(mhort)
@@ -300,12 +303,9 @@ func (f *Forge) printForgedToTable(repo *gitpb.Repo, sizes []int) {
var ns string = repo.GetNamespace()
- // ctime := repo.Tags.GetAge(mhort)
- // age := shell.FormatDuration(time.Since(ctime))
age := shell.FormatDuration(repo.BranchAge(cname))
var args []string
- // args = []string{cname, age, mhort, dhort, uhort, chort, lasttag, thort, rtype, gopath}
args = []string{ns, cname, age, mhort, dhort, lasttag, "", "", "", ""}
start := standardTableSize10(sizes, args)