We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fa8342 commit e0e03a7Copy full SHA for e0e03a7
t/t7004-tag.sh
@@ -1090,4 +1090,15 @@ test_expect_success 'filename for the message is relative to cwd' '
1090
git cat-file tag tag-from-subdir-2 | grep "in sub directory"
1091
'
1092
1093
+# mixing modes and options:
1094
+
1095
+test_expect_success 'mixing incompatibles modes and options is forbidden' '
1096
+ test_must_fail git tag -a
1097
+ test_must_fail git tag -l -v
1098
+ test_must_fail git tag -n 100
1099
+ test_must_fail git tag -l -m msg
1100
+ test_must_fail git tag -l -F some file
1101
+ test_must_fail git tag -v -s
1102
+'
1103
1104
test_done
0 commit comments