summaryrefslogtreecommitdiffstats
path: root/subcmds/info.py
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2025-05-22 14:14:45 -0400
committerLUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2025-05-27 09:26:43 -0700
commit06338abe79f1fbef61f7297530ebf11139654d6c (patch)
tree738d8ba21689be7b2e9f37b0143717c210690a95 /subcmds/info.py
parent8d37f6147174fe170cc00a1d82b1cc5fe8ec0a7b (diff)
downloadgit-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/info.py')
-rw-r--r--subcmds/info.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/subcmds/info.py b/subcmds/info.py
index ab230ddd..f8c2b1e3 100644
--- a/subcmds/info.py
+++ b/subcmds/info.py
@@ -43,14 +43,12 @@ class Info(PagedCommand):
43 p.add_option( 43 p.add_option(
44 "-o", 44 "-o",
45 "--overview", 45 "--overview",
46 dest="overview",
47 action="store_true", 46 action="store_true",
48 help="show overview of all local commits", 47 help="show overview of all local commits",
49 ) 48 )
50 p.add_option( 49 p.add_option(
51 "-c", 50 "-c",
52 "--current-branch", 51 "--current-branch",
53 dest="current_branch",
54 action="store_true", 52 action="store_true",
55 help="consider only checked out branches", 53 help="consider only checked out branches",
56 ) 54 )