git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] submodule add: sanity check existing .gitmodules

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 25, 2025, 14:33 UTC
Message-ID
<xmqqfra2tc60.fsf@gitster.g>
In-Reply-To
<CABPp-BES6HBGxXKC9sfBHu_5oBEDYD+aDquHtoDSZtZdaqOMBQ@mail.gmail.com>
Elijah Newren <newren@gmail.com> writes:
>> no definition of submodule.<name>.path variable, it accessing the
>
> accessing => tries to access
>   (or accessing => accesses)
Show 5 quoted lines
>> A helper used by update_submodule() seems to assume that its call to
>> submodule_from_path() always yields a submodule object without a
>> failure, which seems to rely on the caller's making sure it is the
>
> caller's => caller ?
Thanks.
Previous: Elijah Newren
Message 3 of 3 in “submodule add: sanity check existing .gitmodules”
  1. submodule add: sanity check existing .gitmodulesJunio C Hamano, Nov 16, 2025
  2. Elijah NewrenNov 25, 2025
  3. Junio C HamanoNov 25, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.