diff options
author | Mike Frysinger <vapier@google.com> | 2025-05-22 14:14:45 -0400 |
---|---|---|
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2025-05-27 09:26:43 -0700 |
commit | 06338abe79f1fbef61f7297530ebf11139654d6c (patch) | |
tree | 738d8ba21689be7b2e9f37b0143717c210690a95 /subcmds/upload.py | |
parent | 8d37f6147174fe170cc00a1d82b1cc5fe8ec0a7b (diff) | |
download | git-repo-06338abe79f1fbef61f7297530ebf11139654d6c.tar.gz |
subcmds: delete redundant dest= settings
Add a test to enforce this too.
Change-Id: I80b5cf567aa33db9c24b53428c66d69f9c1d8d74
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/478481
Commit-Queue: Mike Frysinger <vapier@google.com>
Tested-by: Mike Frysinger <vapier@google.com>
Reviewed-by: Scott Lee <ddoman@google.com>
Diffstat (limited to 'subcmds/upload.py')
-rw-r--r-- | subcmds/upload.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/subcmds/upload.py b/subcmds/upload.py index 2837ff51..169a8b77 100644 --- a/subcmds/upload.py +++ b/subcmds/upload.py | |||
@@ -267,7 +267,6 @@ Gerrit Code Review: https://www.gerritcodereview.com/ | |||
267 | "--cc", | 267 | "--cc", |
268 | type="string", | 268 | type="string", |
269 | action="append", | 269 | action="append", |
270 | dest="cc", | ||
271 | help="also send email to these email addresses", | 270 | help="also send email to these email addresses", |
272 | ) | 271 | ) |
273 | p.add_option( | 272 | p.add_option( |
@@ -281,7 +280,6 @@ Gerrit Code Review: https://www.gerritcodereview.com/ | |||
281 | p.add_option( | 280 | p.add_option( |
282 | "-c", | 281 | "-c", |
283 | "--current-branch", | 282 | "--current-branch", |
284 | dest="current_branch", | ||
285 | action="store_true", | 283 | action="store_true", |
286 | help="upload current git branch", | 284 | help="upload current git branch", |
287 | ) | 285 | ) |
@@ -310,7 +308,6 @@ Gerrit Code Review: https://www.gerritcodereview.com/ | |||
310 | "-p", | 308 | "-p", |
311 | "--private", | 309 | "--private", |
312 | action="store_true", | 310 | action="store_true", |
313 | dest="private", | ||
314 | default=False, | 311 | default=False, |
315 | help="upload as a private change (deprecated; use --wip)", | 312 | help="upload as a private change (deprecated; use --wip)", |
316 | ) | 313 | ) |
@@ -318,7 +315,6 @@ Gerrit Code Review: https://www.gerritcodereview.com/ | |||
318 | "-w", | 315 | "-w", |
319 | "--wip", | 316 | "--wip", |
320 | action="store_true", | 317 | action="store_true", |
321 | dest="wip", | ||
322 | default=False, | 318 | default=False, |
323 | help="upload as a work-in-progress change", | 319 | help="upload as a work-in-progress change", |
324 | ) | 320 | ) |