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

Re: [PATCH v2] Propagate --quiet on submodule update to merge/rebase

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 30, 2020, 20:58 UTC
Message-ID
<xmqqzh57f0dh.fsf@gitster.c.googlers.com>
In-Reply-To
<20200930195052.118199-1-tbodt@google.com>
Theodore Dubois <tbodt@google.com> writes:
Show 7 quoted lines
> Without this, commands such as
> git pull --rebase --recurse-submodules --quiet
> might produce non-quiet output from the merge or rebase.
>
> Also fix the parsing of git submodule update -v. Setting GIT_QUIET to 0
> has the same effect as setting GIT_QUIET to 1, because
> ${GIT_QUIET:+--quiet} only checks whether GIT_QUIET is set or unset.
Thanks.
Will queue with the following log message.
    submodule update: silence underlying merge/rebase "--quiet" is given
    
    Commands such as
    
        $ git pull --rebase --recurse-submodules --quiet
    
    produce non-quiet output from the merge or rebase.  Pass the --quiet
    option down when invoking "rebase" and "merge".
    
    Also fix the parsing of git submodule update -v.
    
    When e84c3cf3 (git-submodule.sh: accept verbose flag in cmd_update
    to be non-quiet, 2018-08-14) taught "git submodule update" to take
    "--quiet", it apparently did not know how ${GIT_QUIET:+--quiet}
    works, and reviewers seem to have missed that setting the variable
    to "0" (instead of "1" which is used when "--quiet" is given) has
    the same effect to pass "--quiet" to underlying commands.
    
    Signed-off-by: Theodore Dubois <tbodt@google.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Previous: Theodore DuboisNext: Eric Sunshine
Message 2 of 5 in “Propagate --quiet on submodule update to merge/rebase”
  1. Propagate --quiet on submodule update to merge/rebaseTheodore Dubois, Sep 30, 2020
  2. Junio C HamanoSep 30, 2020
  3. Eric SunshineSep 30, 2020
  4. Jonathan NiederOct 1, 2020
  5. Junio C HamanoOct 1, 2020

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.