Re: [PATCH] clone: add a --no-tags option to clone without tags
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Apr 18, 2017, 21:06 UTC
- Message-ID
- <CACBZZX4CD52j=fz_DPmVpsMLa-Dxu-iJ=GB8YQ6QFKOh1RWQ_g@mail.gmail.com>
- In-Reply-To
- <20170418191553.15464-1-avarab@gmail.com>
On Tue, Apr 18, 2017 at 9:15 PM, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
> N_("clone only one branch, HEAD or --branch")),
> + OPT_BOOL_NONEG(0, "no-tags", &option_no_tags,
> + N_("don't clone any tags, and set remote.<name>.tagOpt=--no-tags")),
> OPT_BOOL(0, "shallow-submodules", &option_shallow_submodules,I forgot to note that this is on top of my earlier patch which adds OPT_BOOL_NONEG, see <20170418170914.9701-1-avarab@gmail.com>, but otherwise applies on top of master, and will work just fine by amending that to say OPT_BOOL (although --no-no-tags will then exist, as noted in the other patch).