diff options
| -rw-r--r-- | argv.go | 1 | ||||
| -rw-r--r-- | doPatch.go | 15 |
2 files changed, 7 insertions, 9 deletions
@@ -114,7 +114,6 @@ type PatchCmd struct { Get *EmptyCmd `arg:"subcommand:get" help:"get the new patchsets"` Show *EmptyCmd `arg:"subcommand:show" help:"your pending commits to your code"` Submit *SubmitCmd `arg:"subcommand:submit" help:"submit your commits"` - Repos *SubmitCmd `arg:"subcommand:repos" help:"show repos with patches"` } type SubmitCmd struct { @@ -60,11 +60,6 @@ func doPatchSubmit() error { } func doPatch() error { - if argv.Patch.Repos != nil { - showWorkRepos() - return nil - } - if argv.Patch.Submit != nil { return doPatchSubmit() } @@ -94,16 +89,20 @@ func doPatch() error { newpb.PrintTable() */ log.Info("do something here to find patches merged to devel") - doMergeReport() + // doMergeReport() return nil } if argv.Patch.List != nil { - return doPatchList() + log.Info("todo: fix this") + // return doPatchList() + return nil } // list patches by default - return doPatchList() + // return doPatchList() + log.Info("todo: fix this") + return nil } func doPatchGet(newpb *forgepb.Sets) { |
