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

Re: Git Test Coverage Report for v2.37.0-rc0

From
Derrick Stolee <derrickstolee@github.com>
Date
Jun 14, 2022, 20:34 UTC
Message-ID
<cdc0cba8-bd9d-9299-a769-aa7b522520ae@github.com>
In-Reply-To
<3d1c6dfd-1df6-3393-df5e-692719375772@github.com>
On 6/14/2022 4:20 PM, Derrick Stolee wrote:
Show 8 quoted lines
> On 6/14/2022 4:18 PM, Derrick Stolee wrote:
>> Derrick Stolee	b56166ca multi-pack-index: use --object-dir real path
>> builtin/multi-pack-index.c
>> b56166ca 61) opts.object_dir = xstrdup(get_object_directory());
> 
> This is demonstrating that opts.object_dir is never populated before
> we parse the options. We must be handling a NULL object_dir properly
> somewhere else. I'll work on a patch to fix this.

I was looking at the wrong line. This line is testing the --no-object-dir option, which is fine to leave untested, probably.

Thanks, -Stolee

Previous: Derrick StoleeNext: Taylor Blau
Message 3 of 6 in “Git Test Coverage Report for v2.37.0-rc0”
  1. Derrick StoleeJun 14, 2022
  2. Derrick StoleeJun 14, 2022
  3. Derrick StoleeJun 14, 2022
  4. Taylor BlauJun 14, 2022
  5. Ævar Arnfjörð BjarmasonJun 15, 2022
  6. Derrick StoleeJun 15, 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.