tag: add more incompatibles mode tests
authorÆvar Arnfjörð Bjarmason <redacted>
Fri, 24 Mar 2017 18:40:52 +0000 (18:40 +0000)
committerJunio C Hamano <redacted>
Fri, 24 Mar 2017 19:15:25 +0000 (12:15 -0700)
commitbf748049f53cea3662b02d87cc91d44a0164e588
treed081a4249d71ef3affb566a19ee0b8bf04295301
parent7ac04f1398c4e854cb585bd289ee4fe921984bbd
tag: add more incompatibles mode tests

Amend the test suite to test for more invalid uses like "-l -a"
etc.

This change tests the code path in builtin/tag.c between lines:

    if (argc == 0 && !cmdmode)

And:

    if ((create_tag_object || force) && (cmdmode != 0))

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t7004-tag.sh
git clone https://git.99rst.org/PROJECT