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

Re: [PATCH 0/2] t5318: test '--stdin-commits' with '--[no-]progress'

From
Derrick Stolee <stolee@gmail.com>
Date
Jun 1, 2020, 19:35 UTC
Message-ID
<153faa41-2801-d6bc-1f48-05a0ac08b446@gmail.com>
In-Reply-To
<cover.1591034353.git.me@ttaylorr.com>
On 6/1/2020 2:01 PM, Taylor Blau wrote:
Show 11 quoted lines
> Here's a short pair of patches that I wrote this morning after looking
> at Stolee's most recent coverage report.
> 
> The first patch is just cleanup, and the second patch is the real
> change. It would have been nice to parameterize these tests over the
> arguments to 'git commit graph' (ie., have three tests for 'write',
> 'verify', and 'write --stdin-commits'), but '--stdin-commits' is special
> since it requires input.
> 
> These patches are based off the tip of 'next', but really only need my
> changes from 'tb/commit-graph-no-check-oids'.

The first patch is an obviously good patch, and it even has a good justification in the message.

The second is also good. The case of forcing "--progress" would be enough for covering your new-ish progress meter. Perhaps the other tests (or at least the one specifying "--no-progress") could be removed, but I don't feel strongly about that.

Thanks, -Stolee

Previous: Taylor BlauNext: Taylor Blau
Message 6 of 7 in “t5318: test '--stdin-commits' with '--[no-]progress'”
  1. 0/2 t5318: test '--stdin-commits' with '--[no-]progress'Taylor Blau, Jun 1, 2020
  2. 1/2 t5318: use 'test_must_be_empty'Taylor Blau, Jun 1, 2020
  3. SZEDER GáborJun 2, 2020
  4. Taylor BlauJun 3, 2020
  5. 2/2 t5318: test that '--stdin-commits' respects '--[no-]progress'Taylor Blau, Jun 1, 2020
  6. Derrick StoleeJun 1, 2020
  7. Taylor BlauJun 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.