summaryrefslogtreecommitdiffstats
path: root/subcmds/grep.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/grep.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/grep.py')
-rw-r--r--subcmds/grep.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/subcmds/grep.py b/subcmds/grep.py
index 918651d9..85977ce8 100644
--- a/subcmds/grep.py
+++ b/subcmds/grep.py
@@ -120,7 +120,6 @@ contain a line that matches both expressions:
120 g.add_option( 120 g.add_option(
121 "-r", 121 "-r",
122 "--revision", 122 "--revision",
123 dest="revision",
124 action="append", 123 action="append",
125 metavar="TREEish", 124 metavar="TREEish",
126 help="Search TREEish, instead of the work tree", 125 help="Search TREEish, instead of the work tree",