diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-04-22 11:14:47 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-22 11:14:47 +0900 |
commit | 39e4773daa758243ff3c708b024f39b7e47f0d7e (patch) | |
tree | ca326634792bed2f4085316f0fd31d1862cb0567 /t/README | |
parent | Merge branch 'nd/read-tree-reset-doc' (diff) | |
parent | tests: disallow the use of abbreviated options (by default) (diff) | |
download | tgif-39e4773daa758243ff3c708b024f39b7e47f0d7e.tar.xz |
Merge branch 'js/spell-out-options-in-tests'
The tests have been updated not to rely on the abbreviated option
names the parse-options API offers, to protect us from an
abbreviated form of an option that used to be unique within the
command getting non-unique when a new option that share the same
prefix is added.
* js/spell-out-options-in-tests:
tests: disallow the use of abbreviated options (by default)
tests (pack-objects): use the full, unabbreviated `--revs` option
tests (status): spell out the `--find-renames` option in full
tests (push): do not abbreviate the `--follow-tags` option
t5531: avoid using an abbreviated option
t7810: do not abbreviate `--no-exclude-standard` nor `--invert-match`
tests (rebase): spell out the `--force-rebase` option
tests (rebase): spell out the `--keep-empty` option
Diffstat (limited to 't/README')
-rw-r--r-- | t/README | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -402,6 +402,10 @@ GIT_TEST_SIDEBAND_ALL=<boolean>, when true, overrides the fetch-pack to not request sideband-all (even if the server advertises sideband-all). +GIT_TEST_DISALLOW_ABBREVIATED_OPTIONS=<boolean>, when true (which is +the default when running tests), errors out when an abbreviated option +is used. + Naming Tests ------------ |