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

Re: [Outreachy] Question about check-ref-format test coverage

From
FDFien Dora <fiendora5@gmail.com>
Date
Oct 24, 2026, 18:37 UTC
Message-ID
<CACWAS-U6OUMcmhLK_aRTc8jt1DXk6eNAs9xz1xmmHDM8L_73Uw@mail.gmail.com>
In-Reply-To
<bd00b525-6e05-4c17-91ef-3d9c80ff2784@gmail.com>
Hi Phillip,
> It sounds like a useful project to me, it is small and self contained
> and improves our codebase.
Show 6 quoted lines
>> Our commands allow "--no-xyz" to override "--xyz" which is useful
>> when
>> an alias includes "--xyz" and you want to use the alias without that
>> option. The second command above exits 1 because "foo" is a one-level
>> ref and we've passed "--no-allow-onelevel" which overrides the earlier
>> "--allow-onelevel"

Thank you for the feedback and for clarifying how the options override each other.

I'll work on adding the tests and share the patch for review.
Previous: Phillip WoodNext: Phillip Wood
Message 4 of 5 in “[Outreachy] Question about check-ref-format test coverage”
  1. Fien DoraOct 23, 2026
  2. Harald NordgrenOct 23, 2026
  3. Phillip WoodOct 24, 2026
  4. Fien DoraOct 24, 2026
  5. Phillip WoodOct 24, 2026

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.