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

Re: [PATCH] Don't pass -v to submodule command

From
Sven Strickroth <email@cs-ware.de>
Date
Dec 1, 2022, 08:32 UTC
Message-ID
<80d5eb7c-c668-d325-2aaa-cbee742d1f15@cs-ware.de>
In-Reply-To
<221130.868rjsi6bn.gmgdl@evledraar.gmail.com>
Am 30.11.2022 um 20:17 schrieb Ævar Arnfjörð Bjarmason:
Show 17 quoted lines
>> --- a/builtin/pull.c
>> +++ b/builtin/pull.c
>> @@ -256,7 +256,7 @@ static struct option pull_options[] = {
>>   /**
>>    * Pushes "-q" or "-v" switches into arr to match the opt_verbosity level.
>>    */
>> -static void argv_push_verbosity(struct strvec *arr)
>> +static void argv_push_verbosity(struct strvec *arr, int include_v)
>>   {
>>   	int verbosity;
>>
> 
> It looks like you're getting somewhere with this, but you never use this
> "include_v", so the bug is still there. We just have the scaffolding
> now.
> 
> Did you forget to add that part to this commit?
Opps, seems so.
> In any case, that serves as a comment on the other thing this patch
> really needs: tests, please add some.

I don't know how to add tests and don't have a fully fledged build environment for git here.

-- 
Best regards,
   Sven Strickroth
   PGP key id F5A9D4C4 @ any key-server
Previous: Ævar Arnfjörð BjarmasonNext: Sven Strickroth
Message 5 of 9 in “git pull --verbose with submodules ends in error message”
  1. Fink, MikeNov 24, 2022
  2. Sven StrickrothNov 25, 2022
  3. Don't pass -v to submodule commandSven Strickroth, Nov 30, 2022
  4. Ævar Arnfjörð BjarmasonNov 30, 2022
  5. Sven StrickrothDec 1, 2022
  6. Don't pass -v to submodule commandSven Strickroth, Dec 1, 2022
  7. Junio C HamanoDec 2, 2022
  8. submodule: Accept -v for update commandSven Strickroth, Dec 10, 2022
  9. Junio C HamanoDec 18, 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.