Re: [Outreachy] Question about check-ref-format test coverage
- From
Harald Nordgren <haraldnordgren@gmail.com>
- Date
- Oct 23, 2026, 15:53 UTC
- Message-ID
- <CAHwyqnXEC7cFijGWATqfA+fBcn09UoNPBDA17GYEY4P8mS0fWA@mail.gmail.com>
- In-Reply-To
- <CACWAS-X4BqnMa8iJKTakF5E=zYkkyr=qsQ-=c3bxoAJ+Kpcfiw@mail.gmail.com>
Show 8 quoted lines
> i tried running > > ./git check-ref-format --allow-onelevel foo > > ./git check-ref-format --allow-onelevel --no-allow-onelevel foo > > > it returned with an exit code of 0 and 1 respectively.
`--allow-onelevel´ and ´--no-allow-onelevel´ are contradictory options, and shouldn't be run together, so that's likely why it failed with exit code 1.
This is true for any `--xyz´ and ´--no-xyz´ options.
Harald