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

Re: [PATCH v2] submodule--helper: fix initialization of warn_if_uninitialized

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 27, 2022, 23:20 UTC
Message-ID
<xmqqee1ijepa.fsf@gitster.g>
In-Reply-To
<kl6lfslyp3ti.fsf@chooglen-macbookpro.roam.corp.google.com>
Glen Choo <chooglen@google.com> writes:
Show 20 quoted lines
> "Orgad Shaneh via GitGitGadget" <gitgitgadget@gmail.com> writes:
>> diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c
>> index 2c87ef9364f..1a8e5d06214 100644
>> --- a/builtin/submodule--helper.c
>> +++ b/builtin/submodule--helper.c
>> @@ -2026,7 +2026,6 @@ struct update_data {
>>  	.references = STRING_LIST_INIT_DUP, \
>>  	.single_branch = -1, \
>>  	.max_jobs = 1, \
>> -	.warn_if_uninitialized = 1, \
>>  }
>>  
>>  static void next_submodule_warn_missing(struct submodule_update_clone *suc,
>>
>> base-commit: 6cd33dceed60949e2dbc32e3f0f5e67c4c882e1e
>> -- 
>> gitgitgadget
>
> This was clearly a mistake on my part :( The fix looks good to me,
> thanks!
Will merge the fix down in preparation for 2.36.1 and later.
Thanks, both.
Previous: Glen Choo
Message 11 of 11 in “submodule--helper: fix initialization of warn_if_uninitialized”
  1. submodule--helper: fix initialization of warn_if_uninitializedOrgad Shaneh via GitGitGadget, Apr 24, 2022
  2. Junio C HamanoApr 25, 2022
  3. Orgad ShanehApr 25, 2022
  4. submodule--helper: fix initialization of warn_if_uninitializedOrgad Shaneh via GitGitGadget, Apr 25, 2022
  5. Junio C HamanoApr 25, 2022
  6. Junio C HamanoApr 25, 2022
  7. Glen ChooApr 27, 2022
  8. Glen ChooApr 27, 2022
  9. Glen ChooApr 27, 2022
  10. Glen ChooApr 27, 2022
  11. Junio C HamanoApr 27, 2022

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.