From 66098f707a1a3f352aac4c4bb2c4f88da070ca2a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 5 Feb 2020 00:01:59 -0500 Subject: 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 Tested-by: Mike Frysinger --- subcmds/gitc_init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subcmds/gitc_init.py') 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. """ def _Options(self, p): - super(GitcInit, self)._Options(p) + super(GitcInit, self)._Options(p, gitc_init=True) g = p.add_option_group('GITC options') g.add_option('-f', '--manifest-file', dest='manifest_file', -- cgit v1.2.3-54-g00ecf