summaryrefslogtreecommitdiffstats
path: root/subcmds/cherry_pick.py
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2021-04-13 14:57:40 -0400
committerMike Frysinger <vapier@google.com>2021-04-13 22:25:17 +0000
commit9180a07b8fb33d5ba0b82facf987b51ca7b15dc4 (patch)
tree4c815bea7136115bf382a1bb75b89b67bd39bd61 /subcmds/cherry_pick.py
parentf32f243ff8aaabe5287235015e1ce189da0123e3 (diff)
downloadgit-repo-9180a07b8fb33d5ba0b82facf987b51ca7b15dc4.tar.gz
command: make --verbose/--quiet available to all subcommands
Add new CommonOptions entry points to move the existing --jobs to, and relocate all --verbose/--quiet options to that. This provides both a consistent interface for users as well as for code. Change-Id: Ifaf83b88872421f4749b073c472b4a67ca6c0437 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/303224 Reviewed-by: Raman Tenneti <rtenneti@google.com> Tested-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'subcmds/cherry_pick.py')
-rw-r--r--subcmds/cherry_pick.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/subcmds/cherry_pick.py b/subcmds/cherry_pick.py
index 4b7f1412..fc4998c3 100644
--- a/subcmds/cherry_pick.py
+++ b/subcmds/cherry_pick.py
@@ -32,9 +32,6 @@ The change id will be updated, and a reference to the old
32change id will be added. 32change id will be added.
33""" 33"""
34 34
35 def _Options(self, p):
36 pass
37
38 def ValidateOptions(self, opt, args): 35 def ValidateOptions(self, opt, args):
39 if len(args) != 1: 36 if len(args) != 1:
40 self.Usage() 37 self.Usage()