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

Re: [PATCH] gc: fix regression in 7b0f229222 impacting --quiet

From
MÅMartin Ågren <martin.agren@gmail.com>
Date
Sep 19, 2018, 21:21 UTC
Message-ID
<CAN0heSr=upqAVzjm=gQoGVnOjBZcDWhmj3W8gFFa8bcfCgaHTg@mail.gmail.com>
In-Reply-To
<20180919210138.31940-1-avarab@gmail.com>
On Wed, 19 Sep 2018 at 23:04, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
> Fix a regression in my recent 7b0f229222 ("commit-graph write: add
> progress output", 2018-09-17), the newly added progress output for
> "commit-graph write" didn't check the --quiet option.
s/, t/. T/, perhaps. Maybe also s/did/does/.
> Do so, and add a test asserting that this works as expected. Since the
> TTY perquisite isn't available everywhere let's add a version of this
s/perq/prereq/
> that both requires and doesn't require that. This test might be overly
> specific and will break if new progress output is added, but I think
> it'll serve as a good reminder to test the undertested progress
> mode(s).
> +test_expect_success 'gc --no-quiet' '
> +       git -c gc.writeCommitGraph=true gc --no-quiet >stdout 2>stderr &&
> +       ! test -s stdout &&
`test_must_be_empty` for easier debugging?
> +       test_line_count = 1 stderr &&
> +       test_i18ngrep "Computing commit graph generation numbers" stderr
> +'
Previous: Ævar Arnfjörð BjarmasonNext: Derrick Stolee
Message 2 of 3 in “gc: fix regression in 7b0f229222 impacting --quiet”
  1. gc: fix regression in 7b0f229222 impacting --quietÆvar Arnfjörð Bjarmason, Sep 19, 2018
  2. Martin ÅgrenSep 19, 2018
  3. Derrick StoleeSep 19, 2018

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.