Thread (20 messages) 20 messages, 3 authors, 2017-04-28

Re: [RFC/PATCH v3 5/5] WIP clone: add a --[no-]recommend-tags & submodule.NAME.tags config

From: Stefan Beller <hidden>
Date: 2017-04-27 19:36:07

On Wed, Apr 26, 2017 at 4:12 PM, Ævar Arnfjörð Bjarmason
[off-list ref] wrote:
quoted hunk ↗ jump to hunk
@@ -855,7 +856,7 @@ static int prepare_to_clone_next_submodule(const struct cache_entry *ce,
                argv_array_pushl(&child->args, "--prefix", suc->prefix, NULL);
        if (suc->recommend_shallow && sub->recommend_shallow == 1)
                argv_array_push(&child->args, "--depth=1");
-       if (suc->no_tags)
+       if (suc->no_tags || suc->recommend_tags == 0)
                argv_array_push(&child->args, "--no-tags");
Here you would also need to pay attention to sub->recommend_tags?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help