From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 44EBD1F8C7 for ; Mon, 2 Aug 2021 23:23:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232933AbhHBXX1 (ORCPT ); Mon, 2 Aug 2021 19:23:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232289AbhHBXX0 (ORCPT ); Mon, 2 Aug 2021 19:23:26 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 986DCC06175F for ; Mon, 2 Aug 2021 16:23:15 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id m20-20020a05600c4f54b029024e75a15716so959244wmq.2 for ; Mon, 02 Aug 2021 16:23:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:in-reply-to:references:from:date:subject:fcc :content-transfer-encoding:mime-version:to:cc; bh=sRMkGQ9d48liM5p3XqWstj4cz8j7g/2tUl9I/WtyjK8=; b=MkXR7YTSqeRs3ZpUU3KRaNeCshjWhGsMewuN7c1XtUW/eNz9DYg7QiGJiawS31Bo8m L2r9h4Zj+VxpmkOTk0GL5Sxw2hd1HacrxsXn/n43BjPJ7MtcQSrxpCVPuvswrkuv/4Zu j9SsbzP0duRnIZJI8n/pl8VNFO61rLKu8lbx1cu1+Q5GYO1/RKIpudyV2jrOVEd6Cv46 8x2SzKrtdfPFKrUXV165GNyKhd0RhfPbvCxYoMCqX2eT4UhFGZIc2iYKX2jSSvgPgi6a OVZMmUU5R7yMadKdkAzSayayxuve1f3QSUWWpvRMmdCQPpRB7mqxYD4Au6J0Ug61/SrL M99Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:in-reply-to:references:from:date :subject:fcc:content-transfer-encoding:mime-version:to:cc; bh=sRMkGQ9d48liM5p3XqWstj4cz8j7g/2tUl9I/WtyjK8=; b=LCFF8L3V02kBKNDwhRSZXmdlwsXD8Sv+CrdFZU8PTlVLjHBLU/0OM+tGmuvXhcWoq6 616kj/vFirBAkK1w7Q36UX6ccgEIyyY1sx7HlZU7Hh3E2EwfYO835g3LfU5m/pe6eDzu aIfSw8c+mZ2cSBEqdYib5XWmbmv2TIYSLbqumj71Dzm11wPiqGXn32jowfRmToWN/xwy nsHUJNHUIqBWXxBpqpkTiEe+jHzo2t2BTyUjfnAW3mC/abX8OOtxlzbqKnHDiZA1IX9I kYnP9iBQIOonWWluTM8OPJxo6b4ELyQL1O+N5+8klcpdKLgHnotSEaH6Ih8hXuHscsyW 6+Lw== X-Gm-Message-State: AOAM5326MyHIdASbv3v4LRTMEqKyUNiFMJsyzOmTvi/OuW6Zv3A9wNoB I1Uu/yNkw8BYaj1D31wfq0w+kdQOdhM= X-Google-Smtp-Source: ABdhPJxnM2TIXfJxivoyu3cqluH9oiXhLgsh16D2cBrkCMcxyYhn3v6mdpM1MD5rDCIQV4jDBxcLWg== X-Received: by 2002:a7b:c083:: with SMTP id r3mr5168663wmh.65.1627946594309; Mon, 02 Aug 2021 16:23:14 -0700 (PDT) Received: from [127.0.0.1] ([13.74.141.28]) by smtp.gmail.com with ESMTPSA id b20sm9830398wmj.48.2021.08.02.16.23.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Aug 2021 16:23:13 -0700 (PDT) Message-Id: In-Reply-To: References: From: "Mahi Kolla via GitGitGadget" Date: Mon, 02 Aug 2021 23:23:08 +0000 Subject: [PATCH v3 2/4] clone: update submodule.recurse in config when using --recurse-submodule Fcc: Sent Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 To: git@vger.kernel.org Cc: Mahi Kolla Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org From: Mahi Kolla When running 'git clone --recurse-submodules', developers expect various other commands such as 'pull' and 'checkout' to also run recursively into submodules.The submitted code updates the 'submodule.recurse' config value to true when 'git clone' is run with the '--recurse-submodules' option. Signed-off-by: Mahi Kolla --- t/t5606-clone-options.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/t5606-clone-options.sh b/t/t5606-clone-options.sh index 3daef8c941f..69c4bacf52f 100755 --- a/t/t5606-clone-options.sh +++ b/t/t5606-clone-options.sh @@ -19,7 +19,7 @@ test_expect_success 'setup' ' test_expect_success 'clone --recurse-submodules sets submodule.recurse=true' ' git clone --recurse-submodules parent clone-rec-submodule && - test_config_global submodule.recurse true + git config submodule.recurse true ' -- gitgitgadget