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/diffmanifests.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/diffmanifests.py')
-rw-r--r-- | subcmds/diffmanifests.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/subcmds/diffmanifests.py b/subcmds/diffmanifests.py index 3eee3f94..66b3183d 100644 --- a/subcmds/diffmanifests.py +++ b/subcmds/diffmanifests.py | |||
@@ -67,7 +67,9 @@ synced and their revisions won't be found. | |||
67 | 67 | ||
68 | def _Options(self, p): | 68 | def _Options(self, p): |
69 | p.add_option( | 69 | p.add_option( |
70 | "--raw", dest="raw", action="store_true", help="display raw diff" | 70 | "--raw", |
71 | action="store_true", | ||
72 | help="display raw diff", | ||
71 | ) | 73 | ) |
72 | p.add_option( | 74 | p.add_option( |
73 | "--no-color", | 75 | "--no-color", |
@@ -78,7 +80,6 @@ synced and their revisions won't be found. | |||
78 | ) | 80 | ) |
79 | p.add_option( | 81 | p.add_option( |
80 | "--pretty-format", | 82 | "--pretty-format", |
81 | dest="pretty_format", | ||
82 | action="store", | 83 | action="store", |
83 | metavar="<FORMAT>", | 84 | metavar="<FORMAT>", |
84 | help="print the log using a custom git pretty format string", | 85 | help="print the log using a custom git pretty format string", |