diff options
Diffstat (limited to 'doList.go')
| -rw-r--r-- | doList.go | 17 |
1 files changed, 3 insertions, 14 deletions
@@ -8,23 +8,12 @@ import ( func doList() error { log.Info("do list here") - if err := me.forge.LoadPatchsets(); err != nil { - badExit(err) - } - - // first show the general patchset protobuf - for pb := range me.forge.Patchsets.IterAll() { - if pb.Name == "forge auto commit" { - pb.ShowPatchsets() - } - } - // show all the patchsets with Names for pset := range me.forge.Patchsets.IterAll() { - if pset.Name == "forge auto commit" { - continue + log.Info("Info", pset.Name, pset.Uuid) + for i, patch := range pset.Patches.Patches { + log.Info("\t", i, patch.CommitHash, patch.Namespace) } - pset.ShowPatchsets() } return nil } |
