]> granicus.if.org Git - git/commit
tests (pack-objects): use the full, unabbreviated `--revs` option
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 25 Mar 2019 18:14:23 +0000 (11:14 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Apr 2019 00:55:00 +0000 (09:55 +0900)
commiteffc2bae642a08ea0cb4a9020cb57632d00ab1a0
tree92b0ec183558b875278e11790ebc99c79ed32431
parentc4932b00f4da864f8b61881b75ca18826f461650
tests (pack-objects): use the full, unabbreviated `--revs` option

To use the singular form of a word, when the option wants the plural
form (and quietly expands it because it thinks it was abbreviated), is
an easy mistake to make, and t5317 contains almost two dozen of them.

However, using abbreviated options in tests is a bit fragile, so we will
disallow use of abbreviated options in our test suite.

In preparation for this change, let's fix
`t5317-pack-objects-filter-objects.sh`.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5317-pack-objects-filter-objects.sh