🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #4310

Re: [PATCH] unpack-trees: reject missing submodules early

#4310
From: Ben Knoble
Date: Thu, 03 Dec 2026 18:09
376 lines
24970 bytes
Hi zibuyu,

> Le 3 déc. 2026 à 04:34, zibuyu <zibuyu423@gmail.com> a écrit :
> 
> A recursive clone can lack a submodule that was removed before the
> cloned tip. Checking out an older commit with --recurse-submodules
> then writes its .gitmodules file before discovering that the submodule
> repository is missing. HEAD still points to the original commit, but
> the failed checkout leaves changes in the worktree.
> 
> Check that each active gitlink scheduled for checkout has a local
> repository before unpacking files. Use the incoming .gitmodules
> mapping when it will replace the current one. Keep the old mapping
> available for removing submodules from the previous checkout.
> 
> Tell the user how to check out the commit without recursion and then
> initialize its submodules. Exercise both gitdir layouts and a clone
> whose active pathspec excludes the missing submodules.

I can’t comment on the cache lookip implementation, 
but the idea and tests look solid.

It took me a few reads to unpack the opening sentence of the log message,
so I wonder if it’s worth expanding that?

« When recursively cloning a repository with commits that remove a
submodule, checking out an older commit where that submodule
should be present fails [with the weird result…] »

?

> Signed-off-by: zibuyu <zibuyu423@gmail.com>

See Documentation/SubmittingPatches[[real-name]].

I’m not judging the adequacy of this name, just anticipating questions.

> ---
> Documentation/git-checkout.adoc |  5 +++
> submodule-config.c              | 49 ++++++++++++++++++++++++++
> submodule-config.h              |  3 ++
> submodule.c                     | 61 +++++++++++++++++++++++++--------
> submodule.h                     |  2 ++
> t/t2013-checkout-submodule.sh   | 30 ++++++++++++++++
> unpack-trees.c                  |  4 +++
> 7 files changed, 140 insertions(+), 14 deletions(-)
> 
> diff --git a/Documentation/git-checkout.adoc b/Documentation/git-checkout.adoc
> index a8b3b8c2e2..56bd69db0a 100644
> --- a/Documentation/git-checkout.adoc
> +++ b/Documentation/git-checkout.adoc
> @@ -308,6 +308,11 @@ include::diff-context-options.adoc[]
>    is used, submodules working trees will not be updated.
>    Just like linkgit:git-submodule[1], this will detach `HEAD` of the
>    submodule.
> ++
> +When switching to a commit that adds an active submodule, checkout needs
> +the submodule's repository to be available locally. If it is missing,
> +retry with `--no-recurse-submodules`, then run
> +`git submodule update --init --recursive` to populate the submodules.
> 
> `--overlay`::
> `--no-overlay`::
> diff --git a/submodule-config.c b/submodule-config.c
> index 37c3be377b..a61899b5b7 100644
> --- a/submodule-config.c
> +++ b/submodule-config.c
> @@ -15,6 +15,7 @@
> #include "odb.h"
> #include "odb/source.h"
> #include "parse-options.h"
> +#include "read-cache.h"
> #include "thread-utils.h"
> #include "tree-walk.h"
> #include "url.h"
> @@ -878,6 +879,54 @@ const struct submodule *submodule_from_path(struct repository *r,
>    return config_from(r, r->submodule_cache, treeish_name, path, lookup_path);
> }
> 
> +int verify_submodules_available(struct index_state *istate)
> +{
> +    struct repository *repo = istate->repo;
> +    struct submodule_cache cache = { 0 };
> +    const struct object_id *gitmodules_oid = NULL;
> +    const struct object_id *worktree = null_oid(repo->hash_algo);
> +    int pos = index_name_pos(istate, GITMODULES_FILE, strlen(GITMODULES_FILE));
> +    int ret = 0;
> +
> +    if (pos >= 0 && (istate->cache[pos]->ce_flags & CE_UPDATE))
> +        gitmodules_oid = &istate->cache[pos]->oid;
> +
> +    for (unsigned int i = 0; i < istate->cache_nr; i++) {
> +        const struct cache_entry *ce = istate->cache[i];
> +        const struct submodule *sub;
> +
> +        if (!(ce->ce_flags & CE_UPDATE) || !S_ISGITLINK(ce->ce_mode))
> +            continue;
> +        /*
> +         * Read the incoming mapping without replacing the mapping
> +         * that check_updates() still needs to remove old submodules.
> +         */
> +        if (gitmodules_oid && !cache.initialized) {
> +            struct parse_config_parameter data = {
> +                .cache = &cache,
> +                .gitmodules_oid = worktree,
> +                .overwrite = 1,
> +            };
> +            submodule_cache_init(&cache);
> +            ret = git_config_from_blob_oid(parse_config, GITMODULES_FILE,
> +                               repo, gitmodules_oid, &data,
> +                               CONFIG_SCOPE_SUBMODULE);
> +            if (ret < 0)
> +                break;
> +        }
> +        if (gitmodules_oid)
> +            sub = cache_lookup_path(&cache, worktree, ce->name);
> +        else
> +            sub = submodule_from_path(repo, worktree, ce->name);
> +        if (sub && check_submodule_available(repo, sub)) {
> +            ret = -1;
> +            break;
> +        }
> +    }
> +    submodule_cache_clear(&cache);
> +    return ret;
> +}
> +
> /**
>  * Used internally by submodules_of_tree(). Recurses into 'treeish_name'
>  * and appends submodule entries to 'out'. The submodule_cache expects
> diff --git a/submodule-config.h b/submodule-config.h
> index 755570d5d1..5351c7b4f3 100644
> --- a/submodule-config.h
> +++ b/submodule-config.h
> @@ -75,6 +75,9 @@ const struct submodule *submodule_from_path(struct repository *r,
>                        const struct object_id *commit_or_tree,
>                        const char *path);
> 
> +/* Check active gitlinks before writing any pending worktree updates. */
> +int verify_submodules_available(struct index_state *istate);
> +
> /**
>  * Use these to free the internally cached values.
>  */
> diff --git a/submodule.c b/submodule.c
> index 6fcb606f7e..c1e4758544 100644
> --- a/submodule.c
> +++ b/submodule.c
> @@ -236,17 +236,13 @@ int option_parse_recurse_submodules_worktree_updater(const struct option *opt,
>  * ie, the config looks like: "[submodule] active\n".
>  * Since that is an invalid pathspec, we should inform the user.
>  */
> -int is_tree_submodule_active(struct repository *repo,
> -                 const struct object_id *treeish_name,
> -                 const char *path)
> +static int is_submodule_active_config(struct repository *repo,
> +                      const struct submodule *module)
> {
>    int ret = 0;
>    char *key = NULL;
>    char *value = NULL;
>    const struct string_list *sl;
> -    const struct submodule *module;
> -
> -    module = submodule_from_path(repo, treeish_name, path);
> 
>    /* early return if there isn't a path->module mapping */
>    if (!module)
> @@ -271,7 +267,8 @@ int is_tree_submodule_active(struct repository *repo,
>        }
> 
>        parse_pathspec(&ps, 0, 0, NULL, args.v);
> -        ret = match_pathspec(repo->index, &ps, path, strlen(path), 0, NULL, 1);
> +        ret = match_pathspec(repo->index, &ps, module->path, strlen(module->path),
> +                     0, NULL, 1);
> 
>        strvec_clear(&args);
>        clear_pathspec(&ps);
> @@ -287,6 +284,14 @@ int is_tree_submodule_active(struct repository *repo,
>    return ret;
> }
> 
> +int is_tree_submodule_active(struct repository *repo,
> +                 const struct object_id *treeish_name,
> +                 const char *path)
> +{
> +    return is_submodule_active_config(repo,
> +                      submodule_from_path(repo, treeish_name, path));
> +}
> +
> int is_submodule_active(struct repository *repo, const char *path)
> {
>    return is_tree_submodule_active(repo, null_oid(the_hash_algo), path);
> @@ -2734,8 +2739,8 @@ int submodule_to_gitdir(struct repository *repo,
>    return ret;
> }
> 
> -void submodule_name_to_gitdir(struct strbuf *buf, struct repository *r,
> -                  const char *submodule_name)
> +static int submodule_name_to_gitdir_gently(struct strbuf *buf, struct repository *r,
> +                       const char *submodule_name)
> {
>    if (!r->repository_format_submodule_path_cfg) {
>        /*
> @@ -2754,11 +2759,7 @@ void submodule_name_to_gitdir(struct strbuf *buf, struct repository *r,
>        FREE_AND_NULL(key);
> 
>        if (ret)
> -            die(_("the 'submodule.%s.gitdir' config does not exist for module '%s'. "
> -                  "Please ensure it is set, for example by running something like: "
> -                  "'git config submodule.%s.gitdir .git/modules/%s'. For details "
> -                  "see the extensions.submodulePathConfig documentation."),
> -                submodule_name, submodule_name, submodule_name, submodule_name);
> +            return -1;
> 
>        strbuf_addstr(buf, gitdir);
>    }
> @@ -2770,4 +2771,36 @@ void submodule_name_to_gitdir(struct strbuf *buf, struct repository *r,
>        die(_("refusing to create/use '%s' in another submodule's "
>              " git dir."), buf->buf);
>    }
> +    return 0;
> +}
> +
> +void submodule_name_to_gitdir(struct strbuf *buf, struct repository *r,
> +                  const char *submodule_name)
> +{
> +    if (submodule_name_to_gitdir_gently(buf, r, submodule_name))
> +        die(_("the 'submodule.%s.gitdir' config does not exist for module '%s'. "
> +              "Please ensure it is set, for example by running something like: "
> +              "'git config submodule.%s.gitdir .git/modules/%s'. For details "
> +              "see the extensions.submodulePathConfig documentation."),
> +            submodule_name, submodule_name, submodule_name, submodule_name);
> +}
> +
> +int check_submodule_available(struct repository *repo, const struct submodule *sub)
> +{
> +    struct strbuf gitdir = STRBUF_INIT;
> +    int err, ret = 0;
> +
> +    if (!is_submodule_active_config(repo, sub) ||
> +        is_submodule_populated_gently(sub->path, &err))
> +        return 0;
> +
> +    if (submodule_name_to_gitdir_gently(&gitdir, repo, sub->name) ||
> +        !is_git_directory(gitdir.buf)) {
> +        ret = error(_("submodule '%s' is not available locally"), sub->path);
> +        advise_if_enabled(ADVICE_SUBMODULES_NOT_UPDATED,
> +                  _("Retry without recursing into submodules, then run\n"
> +                    "'git submodule update --init --recursive'."));
> +    }
> +    strbuf_release(&gitdir);
> +    return ret;
> }
> diff --git a/submodule.h b/submodule.h
> index b10e16e6c0..ae04a8b1db 100644
> --- a/submodule.h
> +++ b/submodule.h
> @@ -12,6 +12,7 @@ struct remote;
> struct repository;
> struct string_list;
> struct strbuf;
> +struct submodule;
> 
> enum submodule_recurse_mode {
>    RECURSE_SUBMODULES_ONLY = -5,
> @@ -69,6 +70,7 @@ int is_submodule_active(struct repository *repo, const char *path);
>  * Otherwise the return error code is the same as of resolve_gitdir_gently.
>  */
> int is_submodule_populated_gently(const char *path, int *return_error_code);
> +int check_submodule_available(struct repository *repo, const struct submodule *sub);
> void die_in_unpopulated_submodule(struct index_state *istate,
>                  const char *prefix);
> void die_path_inside_submodule(struct index_state *istate,
> diff --git a/t/t2013-checkout-submodule.sh b/t/t2013-checkout-submodule.sh
> index b2bdd1fcb4..4fdf2a6306 100755
> --- a/t/t2013-checkout-submodule.sh
> +++ b/t/t2013-checkout-submodule.sh
> @@ -63,6 +63,36 @@ test_expect_success '"checkout <submodule>" honors submodule.*.ignore from .git/
>    test_must_be_empty actual
> '
> 
> +for path_config in false true
> +do
> +    test_expect_success "recursive checkout of a missing submodule (submodulePathConfig=$path_config)" '
> +        prolog &&
> +        git clone -c extensions.submodulePathConfig=$path_config \
> +            --recurse-submodules -b remove_sub1 submodule_update_repo fresh-$path_config &&
> +        (
> +            cd fresh-$path_config &&
> +            test_must_fail git checkout --recurse-submodules origin/add_sub1 2>../err &&
> +            test_cmp_rev HEAD origin/remove_sub1 &&
> +            git status --porcelain >../status &&
> +            test_must_be_empty ../status &&
> +            test_path_is_missing sub1 &&
> +            test_grep "sub1.*not available locally" ../err &&
> +            test_grep "git submodule update --init --recursive" ../err &&
> +            git checkout --no-recurse-submodules origin/add_sub1 &&
> +            git submodule update --init --recursive &&
> +            test_submodule_content sub1 HEAD
> +        )
> +    '
> +done
> +
> +test_expect_success 'recursive checkout skips missing submodules outside the active pathspec' '
> +    prolog &&
> +    git clone --recurse-submodules=other -b remove_sub1 submodule_update_repo selective &&
> +    git -C selective checkout --recurse-submodules origin/add_sub1 &&
> +    test_dir_is_empty selective/sub1 &&
> +    test_dir_is_empty selective/uninitialized_sub
> +'
> +
> KNOWN_FAILURE_DIRECTORY_SUBMODULE_CONFLICTS=1
> test_submodule_switch_recursing_with_args "checkout"
> 
> diff --git a/unpack-trees.c b/unpack-trees.c
> index 1802809ad3..e42a8983ad 100644
> --- a/unpack-trees.c
> +++ b/unpack-trees.c
> @@ -2075,6 +2075,10 @@ int unpack_trees(unsigned len, struct tree_desc *t, struct unpack_trees_options
>        }
>    }
> 
> +    if (o->update && should_update_submodules() &&
> +        verify_submodules_available(&o->internal.result))
> +        goto return_failed;
> +
>    ret = check_updates(o, &o->internal.result) ? (-2) : 0;
>    if (o->dst_index) {
>        move_index_extensions(&o->internal.result, o->src_index);
> --
> 2.56.1
> 
> 
Technical Details
Message-ID: <55AEA29E-70CF-4452-82B0-1B5238450DD8@gmail.com>
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-76966-linux-kernel-git=dewy.ru
References: <20261203093210.3341204-1-zibuyu423@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-76966-linux-kernel-git=dewy.ru
From: ben.knoble@gmail.com (Ben Knoble)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH] unpack-trees: reject missing submodules early
Date: Thu, 3 Dec 2026 13:09:54 -0500
Organization: Usenet Network
Message-ID: <55AEA29E-70CF-4452-82B0-1B5238450DD8@gmail.com>
References: <20261203093210.3341204-1-zibuyu423@gmail.com>
MIME-Version: 1.0 (1.0)
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="2562307"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1://HfQXddktcdg3uSWQspUF5lhdQ= sha256:vO6XBE2gL2cSywbUCHeqt1o8nVd0jkxQEsHLggxGU9M=
	sha1:9CIlf92ufg4F6ei/GrL5UEAfB0E= sha256:T9rsCmmlml6tnpJQbtfjG1WsJYsUblZGs0aEVwsmfh8=
List-ID: <git.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id EB945117A07; Thu,  3 Dec 2026 21:10:21 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.197
X-Spam-Status: No, score=-2.197 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
	FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id GXvbs9i0mnBE;
	Thu,  3 Dec 2026 21:10:18 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-76966-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id EE7C4117A03; Thu,  3 Dec 2026 21:10:09 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 6B39127CB7; Thu,  3 Dec 2026 18:10:08 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796321408;
	b=JTo8yYwiKQXfRWsPQ46/iKjaqO49KPS+C3rIFEDGZH5r6McvHzxncJD2dYw2s53mntdt
	 FKvwKLBuKFJ8hLkT4BrZaTZpfm9GdWmG0xQOAsmloYeCCgFM4IxXwaeQw0wKUxRqhRCNc
	 qUfImcNsudUles/1aTCwvinKWoPKdjKSXVr5qGNOS36EFKE4lA2j/1yVKXj69y6yCnsYX
	 YR/eZ/8KfYeMmW8nWJcMA/ox99DLQj11X1/ySXtbmlrGjDL5th0Nh8RR2JQGDs4e6K2r8
	 KhMuk33jo3+DHOXZP3lKOW2Ogq+3L2S5vE3ebGlLoJqs/B2ACMixXJKxlyYSbu5Q84Q==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796321408;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
	 Received:Content-Type:Content-Transfer-Encoding:From:X-Mailing-List:
	 List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe:
	 List-Owner:Precedence:Mime-Version:Subject:Date:Message-Id:References:
	 Cc:In-Reply-To:To:X-Mailer;
	bh=6SPQGbBGZtM4nAyW0jftg+ZUswr8MEhZLky1lOJPLoU=;
	b=x0Pkns7WGKxkX+SkxE656fjGayMOqRVwS91J13gextiWO8RSG7wXHQaD3htL7LeXsa/r
	 Ydd7IBwY6XtH6TfmZytzKeRp7BTtcz9iWmkPD2FY6bVBaKzEk16plDOTlLKNX5M8qMWbN
	 IStxGVwjogSIv3J+EHqOzC1ayj6clJoP+JHLZDB0kbniY9q1EnoPBWMcyWCW/t+TT14Nc
	 Ezec9c5PIOaff5yQvBfe5q/ipvo3vp7ccfTdPwWYl8QDYFIVEOkrAol6Vs6/D/b5i7n97
	 slj6AMTjFAeHQp2p/r4xdgAxBTfqZ3O33IGqi2fdCtowlYvK9Kv7sjcC6m+Esg8paJg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=I5t6IYQd;
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 3E481606A333;
	Thu,  3 Dec 2026 18:10:08 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=I5t6IYQd
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.181
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796321407;
	b=FMFV2svAXhdMz1QE+OXAKs3HVEpTN0dYvieiLWs45vs5yXYkSaGXmXrqMRNhGZj+751N
	 mH3nee4VPiwMJLxVwX81CyMr5fVT30P5fXYxoyZTWtWjtbBjAHrdLYOgCrCw8JrzmbwCt
	 UeTs6ie/RRrLiuJmfSprmNacbN0tBBcoxigNq6drKfFZMKJyphH+QEmwRyDggUAKrnAlt
	 gNtA2B4YsaULwuC6YIsQ4M2aHAIvuW+zthhdW1Hyz1DqOoy28IMh9sciu6l6+WEHYozk6
	 wGh9GxDs+PbpOuEf3i9wRdnR4lAClNLh6xCXjhOsRpdY7oisABfvfV+Vh18b3yQqSng==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796321407;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Content-Type:
	 Content-Transfer-Encoding:From:Mime-Version:Subject:Date:Message-Id:
	 References:Cc:In-Reply-To:To:X-Mailer;
	bh=6SPQGbBGZtM4nAyW0jftg+ZUswr8MEhZLky1lOJPLoU=;
	b=I7ctUlukDc3a3xZsTZbllmXX9Nk+LBYAgwW5g+5GUJzYQIZW840wl+9ALpNwiAjuPkgt
	 2/xyV+V+F0Sg8Trg3y3oh3OnE0J09XNcyJNU6uKfY2vQAQfSWq3Zt+efwFDa3XWBwOL98
	 XqhX1lph+RTpfjoJ6lN8tvQ0+CkwSIe8WOVJzhDgU4Vkqn955btzCNkF0P9ugmTbgS2i2
	 02f6deSohPQX4Q5ywZlUOI6vlg84/Kh3gxCcndQpGblcS2i2pyxaBqJhknL0lf6uALIHt
	 kyXan8/Ieh0uAHtHj3Chsxi9aUhfGpqxU1juH3CSWHMtUsuq/cq1y8KGhGRk9+mBwxA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=I5t6IYQd;
	arc=none smtp.remote-ip=209.85.128.181
X-Received: from mail-yw1-f181.google.com (mail-yw1-f181.google.com [209.85.128.181])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id E16BF606A322
	for <git@vger.kernel.org>; Thu,  3 Dec 2026 18:10:06 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E16BF606A322
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-yw1-f181.google.com with SMTP id 00721157ae682-8b595601695so519907b3.3
        for <git@vger.kernel.org>; Thu, 03 Dec 2026 10:10:06 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20260707; t=1796321406; x=1796926206; darn=vger.kernel.org;
        h=to:in-reply-to:cc:references:message-id:date:subject:mime-version
         :from:content-transfer-encoding:content-type:from:to:cc:subject:date
         :message-id:reply-to:content-type;
        bh=6SPQGbBGZtM4nAyW0jftg+ZUswr8MEhZLky1lOJPLoU=;
        b=I5t6IYQd3wMJqhZDmYr4xnfXkBLd34lL2U3g2QmtS4yn+s3SPPDMj7O7TLwieELUn7
         h1HwXPQDlobBYsoSEFd8h/Vj/4RixS5BIKAt36WnOSRER7Ucg3mQcbleeQBCq6hHrV4J
         CA9OP0AjCm8YdS41CGl6dg4CLqd/o0zqmJ4rR91KSjV0AL4qnKZ12PTO0Cn2X+VMAGF8
         gEbxY5prQ6hUKVnpZMB0BOXsu3m7hKUMLbilWItRcftB/Cn4pqU5iHnjBtWMqflNN106
         25GCyi0d5AH8MTuxI1jO3sRegEoWXpHa3NaAQd93NXtYaZD9zlY/WiM8YbEgOE56m74Q
         1wbA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1796321406; x=1796926206;
        h=to:in-reply-to:cc:references:message-id:date:subject:mime-version
         :from:content-transfer-encoding:content-type:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=6SPQGbBGZtM4nAyW0jftg+ZUswr8MEhZLky1lOJPLoU=;
        b=tFkqrwIMTJQPs7vYkSw0Fa10d4n0xG8CgO8dlYdq0KnOaX4imXlclvn2TSICT2qwfn
         Q/QQ223UkTcpUay+hrbDUDpsgiw3PlijzAXQhCq9FH6oEwKocHuFLNHAC6tnotQHlTnJ
         X0CMZ7x/KRts1Itv92LxZUswy4c0ru+LQiPXuA0zSL1T9BKonySeFBBaUFiPR2ng4Ww2
         G+Lq+gU4Bhn7xeTs8ba2Dg63Yga/AfEqc2E/3DHuY4J6omPPMN+Fb+nuvOh4TzG/850/
         f6d6TFc1UwmZCqPwEEp3DsRIeuWarZIwnVh8vLUfezipy5QIqz59d0ICQLe8ZNvvR3Q/
         RW9A==
X-Gm-Message-State: APuU4Z9tOaribeuvUumSnTpvKq0/rzq8+QjS4trEp2tGdMeUlj9wKO4C
	DK0dfER1EHTMgRtMvkSh9LiP59+iYjax+dQZ21AappGSo/1LCga0IZV9Zm0TzQ==
X-Gm-Gg: AZFdTZdsJ1isNM5jGbQYQO30efOflJ6wy6fv3A/bMtR86Ye3sUu/dTtWXSALbunHKT1
	6daG7C2QoQD4ovrURUDlr3gpdZNlP/7hdxMKz89nOgKcvWODMUqNZ8NEAAuOkeG4Rzvwpg63wfX
	C78acp13BdDVUmuUzU9JABY+/vDStrS80tA/YlRowp1t+JPHlTwwOXMcjEwF782WAElPVkUkqBU
	fE6o/EWVS/bufGuneQAPIwzDfi1647adrjqJqahQqTcvXEUUZE0Anjktz4uzwWIQzDhkONiqpgD
	lMb4uI9YrBY0irbrhm7GdEJ/RuHy1let2UnGObytA6VsjFVsOLfCIBvS1JLDYiK3csGS5C5kHj2
	/1P65zoH8gOa0ZvHBld4rPtyTDUMrxSQlxcXFJ7Az/vqESiZ/Jhv3TuIQ3vRrdwQsOz7VynimTp
	yh0ljoi9rtOy6QDjwrMkpO1KZa+bOW22NxkPdQMPxL3aAQMwrDtdr2L6QMeAEFcT7+xOCVb7NJa
	uT5rU6Zs9sIdILmAPRBesjyfR0w65w7sGGlDBExX11die5ACLEQBKjR78GU8AEHWWUHXT/jfjie
	zutKSxp8o8uPrC36jIy523ALehM9myL37nTBaO94ZqTkj/edlC0Yppvqgpaaw6EjFWwhPMi0IRR
	OHXxT0qMKGVidDps4FOu38CODCQpnWILzK4UEQPlOPH9Oj2tRE22wsafTUUvdQck3Bo9wNoWApv
	xA
X-Received: by 2002:a05:690c:4985:b0:8b3:3854:c28b with SMTP id 00721157ae682-8b520435d1bmr152594067b3.22.1796321405575;
        Thu, 03 Dec 2026 10:10:05 -0800 (PST)
X-Received: from smtpclient.apple ([2605:a601:9d46:600:e1de:3960:1c2c:fe32])
        by smtp.gmail.com with ESMTPSA id 00721157ae682-8b52030df7bsm179287407b3.31.2026.12.03.10.10.05
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Thu, 03 Dec 2026 10:10:05 -0800 (PST)
X-Mailing-List: git@vger.kernel.org
X-List-Post: <mailto:git@vger.kernel.org>
X-List-Help: <mailto:git+help@vger.kernel.org>
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:git+owner@vger.kernel.org>
X-Precedence: list
X-Cc: git@vger.kernel.org, newren@gmail.com, adrian.ratiu@collabora.com,
 zibuyu <zibuyu423@gmail.com>
X-In-Reply-To: <20261203093210.3341204-1-zibuyu423@gmail.com>
X-Mailer: iPhone Mail (23D8133)