Thread (5 messages) 5 messages, 3 authors, 2017-04-25

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

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2017-04-18 21:07:14

On Tue, Apr 18, 2017 at 9:15 PM, Ævar Arnfjörð Bjarmason
[off-list ref] 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 [ref], 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).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help