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
Eric Sunshine <sunshine@sunshineco.com>
Date
Sep 30, 2020, 21:04 UTC
Message-ID
<CAPig+cSoJf-=Po39qocKttH2TQNGW9wVov6cQgb5zbZjZz63Bw@mail.gmail.com>
In-Reply-To
<xmqqzh57f0dh.fsf@gitster.c.googlers.com>
On Wed, Sep 30, 2020 at 4:58 PM Junio C Hamano <gitster@pobox.com> wrote:
> Will queue with the following log message.
>
>     submodule update: silence underlying merge/rebase "--quiet" is given
Probably want to insert "when" in there.
Show 15 quoted lines
>     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.
Perhaps:
    ... to "0", rather than unsetting it, still results in "--quiet"
    being passed to underlying commands.
Previous: Junio C HamanoNext: Jonathan Nieder
Message 3 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.