From 06338abe79f1fbef61f7297530ebf11139654d6c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 22 May 2025 14:14:45 -0400 Subject: 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 Tested-by: Mike Frysinger Reviewed-by: Scott Lee --- subcmds/rebase.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'subcmds/rebase.py') diff --git a/subcmds/rebase.py b/subcmds/rebase.py index db1b387c..d7e769ce 100644 --- a/subcmds/rebase.py +++ b/subcmds/rebase.py @@ -47,21 +47,18 @@ branch but need to incorporate new upstream changes "underneath" them. g.add_option( "-i", "--interactive", - dest="interactive", action="store_true", help="interactive rebase (single project only)", ) p.add_option( "--fail-fast", - dest="fail_fast", action="store_true", help="stop rebasing after first error is hit", ) p.add_option( "-f", "--force-rebase", - dest="force_rebase", action="store_true", help="pass --force-rebase to git rebase", ) @@ -74,27 +71,23 @@ branch but need to incorporate new upstream changes "underneath" them. ) p.add_option( "--autosquash", - dest="autosquash", action="store_true", help="pass --autosquash to git rebase", ) p.add_option( "--whitespace", - dest="whitespace", action="store", metavar="WS", help="pass --whitespace to git rebase", ) p.add_option( "--auto-stash", - dest="auto_stash", action="store_true", help="stash local modifications before starting", ) p.add_option( "-m", "--onto-manifest", - dest="onto_manifest", action="store_true", help="rebase onto the manifest version instead of upstream " "HEAD (this helps to make sure the local tree stays " -- cgit v1.2.3-54-g00ecf