Re: [PATCH 8/8] tests: disallow the use of abbreviated options (by default)
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Mar 25, 2019, 19:47 UTC
- Message-ID
- <87sgvabutb.fsf@evledraar.gmail.com>
- In-Reply-To
- <04c36b1de9f22d7e0c64bb118eb424c1f64bd223.1553537656.git.gitgitgadget@gmail.com>
On Mon, Mar 25 2019, Johannes Schindelin via GitGitGadget wrote:
Show 6 quoted lines
> +# Disallow the use of abbreviated options in the test suite by default
> +test -n "$GIT_TEST_DISALLOW_ABBREVIATED_OPTIONS" || {
> + GIT_TEST_DISALLOW_ABBREVIATED_OPTIONS=true
> + export GIT_TEST_DISALLOW_ABBREVIATED_OPTIONS
> +}
> +Just using the if test ...\nthen\nfi long-form would be consistent with our usual style & the rest of this file.