Re: [PATCH 0/8] Do not use abbreviated options in tests
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 2, 2019, 00:58 UTC
- Message-ID
- <xmqqy34tte92.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <pull.167.git.gitgitgadget@gmail.com>
"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com> writes:
> We do not want to have tests that need to be changed by completely unrelated > patch series, just because abbreviations that used to be unique are being > made non-unique by said patch series.
Makes sense.
If we wanted to make sure that options in abbreviated form work correctly, we should do so in dedicated parseopt-specific tests (and we do in t0040, I think), not in tests for random other commands that happens to feed options to them.
Will queue.