diff options
author | Mike Frysinger <vapier@google.com> | 2020-02-05 00:01:59 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2020-02-05 16:00:10 +0000 |
commit | 66098f707a1a3f352aac4c4bb2c4f88da070ca2a (patch) | |
tree | 15c9fc56d88c232d0e2fbdcfb35f8176c0057fc8 /subcmds/gitc_init.py | |
parent | f7b64e3350a622ee87e1927cdbc8d854a5696d85 (diff) | |
download | git-repo-66098f707a1a3f352aac4c4bb2c4f88da070ca2a.tar.gz |
init: handle -c conflicts with gitc-init
We keep getting requests for init to support -c. This conflicts with
gitc-init which allocates -c for its own use. Lets make this dynamic
so we keep it with "init" but omit it for "gitc-init".
Bug: https://crbug.com/gerrit/10200
Change-Id: Ibf69c2bbeff638e28e63cb08926fea0c622258db
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/253252
Reviewed-by: David Pursehouse <dpursehouse@collab.net>
Tested-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'subcmds/gitc_init.py')
-rw-r--r-- | subcmds/gitc_init.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subcmds/gitc_init.py b/subcmds/gitc_init.py index df7b2587..378f9236 100644 --- a/subcmds/gitc_init.py +++ b/subcmds/gitc_init.py | |||
@@ -50,7 +50,7 @@ use for this GITC client. | |||
50 | """ | 50 | """ |
51 | 51 | ||
52 | def _Options(self, p): | 52 | def _Options(self, p): |
53 | super(GitcInit, self)._Options(p) | 53 | super(GitcInit, self)._Options(p, gitc_init=True) |
54 | g = p.add_option_group('GITC options') | 54 | g = p.add_option_group('GITC options') |
55 | g.add_option('-f', '--manifest-file', | 55 | g.add_option('-f', '--manifest-file', |
56 | dest='manifest_file', | 56 | dest='manifest_file', |