diff options
| author | Mike Frysinger <vapier@google.com> | 2020-02-17 14:50:11 -0500 |
|---|---|---|
| committer | David Pursehouse <dpursehouse@collab.net> | 2020-02-17 23:49:47 +0000 |
| commit | 16f2fae16f37d0ff77c7ba1ba58ccca036f6358b (patch) | |
| tree | 37070c0b1542d47fe07ff1de55658c1a7f944684 | |
| parent | 521d01b2e013318813274b8e44247dfc530d0502 (diff) | |
| download | git-repo-16f2fae16f37d0ff77c7ba1ba58ccca036f6358b.tar.gz | |
diff: delete unused nested func
Change-Id: I43ab4bc944269e43a6cd7b2ac350c09b7c700a6c
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/255492
Tested-by: Mike Frysinger <vapier@google.com>
Reviewed-by: David Pursehouse <dpursehouse@collab.net>
| -rw-r--r-- | subcmds/diff.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/subcmds/diff.py b/subcmds/diff.py index 406baa28..190b18f4 100644 --- a/subcmds/diff.py +++ b/subcmds/diff.py | |||
| @@ -29,10 +29,6 @@ to the Unix 'patch' command. | |||
| 29 | """ | 29 | """ |
| 30 | 30 | ||
| 31 | def _Options(self, p): | 31 | def _Options(self, p): |
| 32 | def cmd(option, opt_str, value, parser): | ||
| 33 | setattr(parser.values, option.dest, list(parser.rargs)) | ||
| 34 | while parser.rargs: | ||
| 35 | del parser.rargs[0] | ||
| 36 | p.add_option('-u', '--absolute', | 32 | p.add_option('-u', '--absolute', |
| 37 | dest='absolute', action='store_true', | 33 | dest='absolute', action='store_true', |
| 38 | help='Paths are relative to the repository root') | 34 | help='Paths are relative to the repository root') |
