Web lists-archives.com

Re: [PATCH] clone: add a --no-tags option to clone without tags




On Tue, Apr 18, 2017 at 9:15 PM, Ævar Arnfjörð Bjarmason
<avarab@xxxxxxxxx> 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@xxxxxxxxx>, 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).