diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2017-03-24 18:40:52 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-24 12:15:25 -0700 |
commit | bf748049f53cea3662b02d87cc91d44a0164e588 (patch) | |
tree | d081a4249d71ef3affb566a19ee0b8bf04295301 /contrib/fast-import | |
parent | for-each-ref: partly change <object> to <commit> in help (diff) | |
download | tgif-bf748049f53cea3662b02d87cc91d44a0164e588.tar.xz |
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 <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/fast-import')
0 files changed, 0 insertions, 0 deletions